master - cleanup: add gcc printf __attribute__
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7c7ab99843837bd9099ea502c8a34c05fad495c3 Commit: 7c7ab99843837bd9099ea502c8a34c05fad495c3 Parent: feea5003cc0af2647f45a46d7b1d449a2f75e99b Author: Zdenek Kabelac <[email protected]> AuthorDate: Sat Oct 13 19:14:41 2012 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sat Oct 13 19:14:41 2012 +0200
cleanup: add gcc printf __attribute__
--- .../lvm2_activation_generator_systemd_red_hat.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
scripts/lvm2_activation_generator_systemd_red_hat.c +1 -0
@@ -34,6 +34,7 @@ static char target_path[PATH_MAX];static char message[PATH_MAX ];static int kmsg_fd =-1 ; +__attribute__ ((format (printf,1 ,2 )))static void kmsg (const char *format, ...) {va_list ap;