Re: [RESENT][TRIVIAL][PATCH] SELinux: Use %lu for inode->i_no whenprinting avcs

From: James Morris
Date: Mon Jun 11 2007 - 09:07:09 EST


On Mon, 11 Jun 2007, Tobias Oed wrote:

> Resending this to a wider audience since the first attempt was mangled
> and I haven't heard anything in a week.
>
> Inode numbers are unsigned long and so need to %lu as format string of
> printf. I have no idea why the __attribute__((format,..)) of
> audit_log_format
> doesn't give us a warning.
> Compile tested only.
>
> Signed-off-by: Tobias Oed <tobias.oed@xxxxxxxxxxxxx>

Thanks, tested & applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-akpm




--
James Morris
<jmorris@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/