X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Fum%2Finclude%2Fshared%2Fuser.h;h=dd4badffdeb3d76a35551387108a3ccf0288b8e2;hb=a2d616b935a0df24bc9375785b19bf30d7fc9c6a;hp=e793e4212f0a5f80eca76d55dea6cb2f4b94809a;hpb=b4b61b224d12ef12ff21cc598acce0ee818903ab;p=linux-2.6-microblaze.git diff --git a/arch/um/include/shared/user.h b/arch/um/include/shared/user.h index e793e4212f0a..dd4badffdeb3 100644 --- a/arch/um/include/shared/user.h +++ b/arch/um/include/shared/user.h @@ -38,7 +38,8 @@ extern void panic(const char *fmt, ...) #define UM_KERN_CONT KERN_CONT #ifdef UML_CONFIG_PRINTK -extern int printk(const char *fmt, ...) +#define printk(...) _printk(__VA_ARGS__) +extern int _printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); #else static inline int printk(const char *fmt, ...)