On Mon, Oct 28, 2013 at 4:30 PM, William Roberts
<[email protected]>wrote:
> I've been working off of Richard Guy Brigs git repo on branch
> audit-for-next prepping my patch and I noticed a build warning:
>
> kernel/audit.c:832:8: warning: format ‘%A’ expects argument of type
> ‘double’, but argument 3 has type ‘char *’ [-Wformat]
>
> Looking at the code, it looks wrong:
>
> audit_log_format(ab,
"
msg='%.AUDIT_MESSAGE_TEXT_MAXs'",
(char *)data);
The issue appears on the % specifier in there, it picks it up as %.A, which
is of type double. Is this what was intended?
<snip>
>
--
Respectfully,
William C Roberts
--
Linux-audit mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-audit