提交 13bddc2e 编写于 作者: T Tobias Oed 提交者: James Morris

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: NTobias Oed <tobias.oed@octant-fr.com>
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 2c3c05db
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册