summaryrefslogtreecommitdiffstats
path: root/arch/um/include/tt/tt.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/tt/tt.h')
-rw-r--r--arch/um/include/tt/tt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/include/tt/tt.h b/arch/um/include/tt/tt.h
index 808521980186..acb8356e1f98 100644
--- a/arch/um/include/tt/tt.h
+++ b/arch/um/include/tt/tt.h
@@ -19,7 +19,8 @@ extern int fork_tramp(void *sig_stack);
extern int do_proc_op(void *t, int proc_id);
extern int tracer(int (*init_proc)(void *), void *sp);
extern void attach_process(int pid);
-extern void tracer_panic(char *format, ...);
+extern void tracer_panic(char *format, ...)
+ __attribute__ ((format (printf, 1, 2)));
extern void set_init_pid(int pid);
extern int set_user_mode(void *task);
extern void set_tracing(void *t, int tracing);
OpenPOWER on IntegriCloud