vfs_full_audit: make do_log() printf-aware
authorUri Simchoni <uri@samba.org>
Sun, 19 Nov 2017 18:44:06 +0000 (18:44 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 Nov 2017 00:13:15 +0000 (01:13 +0100)
commitd97feb40e543dfc122569d4ac2dcb208ba661bc7
treea3756cbde90da340a822d5fb268781245757171f
parent2bf01b286c36e635b1ee0469c97394b6c075b3a3
vfs_full_audit: make do_log() printf-aware

Add PRINTF_ATTRIBUTE() to do_log(). This removes
picky compiler warning about printf with variable
format string, and adds compiler checks for the format
strings supplied to do_log. This in turn spurred some
warnings which are fixed.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/vfs_full_audit.c