Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13bddc2e authored by Tobias Oed's avatar Tobias Oed Committed by James Morris
Browse files

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: default avatarTobias Oed <tobias.oed@octant-fr.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 2c3c05db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;