diff options
Diffstat (limited to 'xorg-server/Xext/security.c')
-rw-r--r-- | xorg-server/Xext/security.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xorg-server/Xext/security.c b/xorg-server/Xext/security.c index 2aa46d137..680e53a31 100644 --- a/xorg-server/Xext/security.c +++ b/xorg-server/Xext/security.c @@ -150,9 +150,7 @@ SecurityLabelInitial(void) static _X_INLINE const char * SecurityLookupRequestName(ClientPtr client) { - int major = ((xReq *)client->requestBuffer)->reqType; - int minor = MinorOpcodeOfRequest(client); - return LookupRequestName(major, minor); + return LookupRequestName(client->majorOp, client->minorOp); } |