From: greg@kroah.com Date: Fri, 18 Jul 2003 14:45:35 +0000 (-0700) Subject: [PATCH] make log_message spit out warnings so I don't have X-Git-Tag: 002~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=032abea6fb9f0203dc22d46a1f48326b7da8182c;p=systemd [PATCH] make log_message spit out warnings so I don't have --- diff --git a/udev.h b/udev.h index fb35cad4..af1b6bbb 100644 --- a/udev.h +++ b/udev.h @@ -49,7 +49,8 @@ /* Binaries that udev calls to do stuff */ #define MKNOD "/bin/mknod" -extern int log_message (int level, const char *format, ...); +extern int log_message (int level, const char *format, ...) + __attribute__ ((format (printf, 2, 3))); #endif