diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-04-16 22:39:54 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-04-16 23:46:01 -0400 |
commit | 3481b32ab971c41cb972f6819ae049f3e9f7033b (patch) | |
tree | 5f88675f3534d534bc7b7e1d0740866c2d78b1f4 /Xext | |
parent | 6045506be0cebca4ebbe943ae77f020aafa703d4 (diff) |
security: Fix a crash caused by wrong ordering of format arguments.
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/security.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Xext/security.c b/Xext/security.c index 0cbb7e37e..f1e0bb16f 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -948,9 +948,10 @@ SecuritySend(CallbackListPtr *pcbl, pointer unused, pointer calldata) SecurityAudit("Security: denied client %d from sending event " "of type %s to window 0x%x of client %d\n", - rec->client->index, rec->pWin->drawable.id, - wClient(rec->pWin)->index, - LookupEventName(rec->events[i].u.u.type)); + rec->client->index, + LookupEventName(rec->events[i].u.u.type), + rec->pWin->drawable.id, + wClient(rec->pWin)->index); rec->status = BadAccess; return; } |