diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-12 16:49:35 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-12 17:03:12 -0800 |
commit | 7801b3dcd6501e3de93a6d2cee93b2593806e922 (patch) | |
tree | 1df4eaeaa5bee5591ce009fad9ecba4d093c6b61 /Xext/security.c | |
parent | f68df9dfd2c7ca03c24aaa0a895b7191ecb81e85 (diff) |
Add some printf format attributes suggested by gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xext/security.c')
-rw-r--r-- | Xext/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/security.c b/Xext/security.c index 63892aa85..df5bd5822 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -97,7 +97,7 @@ static const Mask SecurityClientMask = DixGetAttrAccess; * Writes the message to the log file if security logging is on. */ -static void +static void _X_ATTRIBUTE_PRINTF(1,2) SecurityAudit(const char *format, ...) { va_list args; |