]> sourceware.org Git - lvm2.git/commitdiff
cleanup: add gcc printf __attribute__
authorZdenek Kabelac <zkabelac@redhat.com>
Sat, 13 Oct 2012 17:14:41 +0000 (19:14 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Sat, 13 Oct 2012 17:14:41 +0000 (19:14 +0200)
scripts/lvm2_activation_generator_systemd_red_hat.c

index b8d1cfc8c0f28dfe5c8f2b86ab040056db271831..dfd6fc446b564d0f271497a146757245eddccdc7 100644 (file)
@@ -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;
This page took 0.070661 seconds and 5 git commands to generate.