summaryrefslogtreecommitdiff
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:29 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:29 +0100
commit1e7bfb2134dfec37ce04fb3a4ca89299e892d10c (patch)
tree99c676262e696754dcbfb2d6f59499972cd0c38c /kernel/printk.c
parentc4ea37c26a691ad0b7e86aa5884aab27830e95c9 (diff)
downloadlwn-1e7bfb2134dfec37ce04fb3a4ca89299e892d10c.tar.gz
lwn-1e7bfb2134dfec37ce04fb3a4ca89299e892d10c.zip
[CVE-2009-0029] System call wrappers part 27
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index e48cf33783fc..69188f226a93 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -382,7 +382,7 @@ out:
return error;
}
-asmlinkage long sys_syslog(int type, char __user *buf, int len)
+SYSCALL_DEFINE3(syslog, int, type, char __user *, buf, int, len)
{
return do_syslog(type, buf, len);
}