summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-12 16:49:35 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-12 17:03:12 -0800
commit7801b3dcd6501e3de93a6d2cee93b2593806e922 (patch)
tree1df4eaeaa5bee5591ce009fad9ecba4d093c6b61 /Xext
parentf68df9dfd2c7ca03c24aaa0a895b7191ecb81e85 (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')
-rw-r--r--Xext/security.c2
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;