]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Audit: Fix the format type for size_t variables
authorPaul Moore <paul.moore@hp.com>
Wed, 27 Feb 2008 15:39:22 +0000 (10:39 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 1 Mar 2008 12:16:06 +0000 (07:16 -0500)
commit2bfad853e5b5da3159a35a78bef34d6359779529
tree16cecc0fe134f019159d704760d0277febe60d01
parent6c32e652e390740bb3aba39412540d4e6bdbe84b
[PATCH] Audit: Fix the format type for size_t variables

Fix the following compiler warning by using "%zu" as defined in C99.

  CC      kernel/auditsc.o
  kernel/auditsc.c: In function 'audit_log_single_execve_arg':
  kernel/auditsc.c:1074: warning: format '%ld' expects type 'long int', but
  argument 4 has type 'size_t'

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/auditsc.c