From 032abea6fb9f0203dc22d46a1f48326b7da8182c Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Fri, 18 Jul 2003 07:45:35 -0700 Subject: [PATCH] [PATCH] make log_message spit out warnings so I don't have --- udev.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5