about summary refs log tree commit diff
path: root/src/linux/klogctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/klogctl.c')
-rw-r--r--src/linux/klogctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/klogctl.c b/src/linux/klogctl.c
index 976f29e3..209ae742 100644
--- a/src/linux/klogctl.c
+++ b/src/linux/klogctl.c
@@ -2,5 +2,5 @@
 
 int klogctl (int type, char *buf, int len)
 {
-	return syscall3(__NR_syslog, type, (long)buf, len);
+	return syscall(SYS_syslog, type, buf, len);
 }