]> err.no Git - systemd/commitdiff
[PATCH] make log_message spit out warnings so I don't have
authorgreg@kroah.com <greg@kroah.com>
Fri, 18 Jul 2003 14:45:35 +0000 (07:45 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:01:39 +0000 (21:01 -0700)
udev.h

diff --git a/udev.h b/udev.h
index fb35cad49ac608fb02eef055ce4abdc3de1df967..af1b6bbb8d0f2c8ad43449ec58992203bc24dfc9 100644 (file)
--- 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