diff options
author | Tobias Oed <tobias.oed@octant-fr.com> | 2007-06-11 08:56:31 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2007-07-11 22:52:27 -0400 |
commit | 13bddc2e9d591e31bf20020dc19ea6ca85de420e (patch) | |
tree | b813a0a060439c4cfb84c93dc14307179465829b | |
parent | 2c3c05dbcbc7b9d71549fe0e2b249f10f5a66518 (diff) | |
download | linux-13bddc2e9d591e31bf20020dc19ea6ca85de420e.tar.gz linux-13bddc2e9d591e31bf20020dc19ea6ca85de420e.tar.bz2 linux-13bddc2e9d591e31bf20020dc19ea6ca85de420e.zip |
SELinux: Use %lu for inode->i_no when printing avc
Inode numbers are unsigned long and so need to %lu as format string of printf.
Signed-off-by: Tobias Oed <tobias.oed@octant-fr.com>
Signed-off-by: James Morris <jmorris@namei.org>
-rw-r--r-- | security/selinux/avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index cc5fcef9e226..78c408fd2b02 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -586,7 +586,7 @@ void avc_audit(u32 ssid, u32 tsid, } } if (inode) - audit_log_format(ab, " dev=%s ino=%ld", + audit_log_format(ab, " dev=%s ino=%lu", inode->i_sb->s_id, inode->i_ino); break; |