summaryrefslogtreecommitdiffstats
path: root/arch/um/include/user_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/user_util.h')
-rw-r--r--arch/um/include/user_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h
index fe0c29b..802d784 100644
--- a/arch/um/include/user_util.h
+++ b/arch/um/include/user_util.h
@@ -55,7 +55,8 @@ extern int get_pty(void);
extern void *um_kmalloc(int size);
extern int switcheroo(int fd, int prot, void *from, void *to, int size);
extern void do_exec(int old_pid, int new_pid);
-extern void tracer_panic(char *msg, ...);
+extern void tracer_panic(char *msg, ...)
+ __attribute__ ((format (printf, 1, 2)));
extern int detach(int pid, int sig);
extern int attach(int pid);
extern void kill_child_dead(int pid);
OpenPOWER on IntegriCloud