summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/compat.h')
-rw-r--r--kernel/include/linux/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/linux/compat.h b/kernel/include/linux/compat.h
index ab2581469..a76c9172b 100644
--- a/kernel/include/linux/compat.h
+++ b/kernel/include/linux/compat.h
@@ -424,7 +424,7 @@ asmlinkage long compat_sys_settimeofday(struct compat_timeval __user *tv,
asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp);
-extern int compat_printk(const char *fmt, ...);
+extern __printf(1, 2) int compat_printk(const char *fmt, ...);
extern void sigset_from_compat(sigset_t *set, const compat_sigset_t *compat);
extern void sigset_to_compat(compat_sigset_t *compat, const sigset_t *set);