ftrace: enable format arguments checking
[deliverable/linux.git] / include / linux / ftrace.h
index 04b52e6ebc66e1f2530337825649f6bd3e70d956..677432b9cb7e6e45dc98c400b304689d0cb4ca13 100644 (file)
@@ -303,7 +303,7 @@ extern void ftrace_dump(void);
 static inline void
 ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { }
 static inline int
-ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0)));
+ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
 
 static inline void tracing_start(void) { }
 static inline void tracing_stop(void) { }
This page took 0.027483 seconds and 5 git commands to generate.