X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=debug.h;h=6dd2ad86b87d60f9a27228f4b18f40f9b6754009;hb=0f5064057b65b14b108ef32fc4f3380f1b01f9eb;hp=af71d625fc10c20433cc5a53285de61c70ad02dc;hpb=fddc6604f91ebf76d9090741f9d4f5a4d33be0c6;p=fio.git diff --git a/debug.h b/debug.h index af71d625..6dd2ad86 100644 --- a/debug.h +++ b/debug.h @@ -34,7 +34,7 @@ extern struct debug_level debug_levels[]; extern unsigned long fio_debug; -void __dprint(int type, const char *str, ...); +void __dprint(int type, const char *str, ...) __attribute__((format (printf, 2, 3))); #define dprint(type, str, args...) \ do { \