summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-07-18 07:45:35 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:39 -0700
commit032abea6fb9f0203dc22d46a1f48326b7da8182c (patch)
tree649f35187192763608af26ce97b8938ae9ca5c75 /udev.h
parentfe3004330107036de22c067f7ba49d6770596072 (diff)
[PATCH] make log_message spit out warnings so I don't have
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev.h b/udev.h
index fb35cad49a..af1b6bbb8d 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