Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=13bddc2e9d591e31bf20020dc19ea6ca85de420e
Commit:     13bddc2e9d591e31bf20020dc19ea6ca85de420e
Parent:     2c3c05dbcbc7b9d71549fe0e2b249f10f5a66518
Author:     Tobias Oed <[EMAIL PROTECTED]>
AuthorDate: Mon Jun 11 08:56:31 2007 -0400
Committer:  James Morris <[EMAIL PROTECTED]>
CommitDate: Wed Jul 11 22:52:27 2007 -0400

    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 <[EMAIL PROTECTED]>
    Signed-off-by: James Morris <[EMAIL PROTECTED]>
---
 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 cc5fcef..78c408f 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to