diff options
author | greg@kroah.com <greg@kroah.com> | 2003-07-18 07:45:35 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:39 -0700 |
commit | 032abea6fb9f0203dc22d46a1f48326b7da8182c (patch) | |
tree | 649f35187192763608af26ce97b8938ae9ca5c75 | |
parent | fe3004330107036de22c067f7ba49d6770596072 (diff) |
[PATCH] make log_message spit out warnings so I don't have
-rw-r--r-- | udev.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |