global cleanup to use the new syscall interface
[musl] / src / linux / klogctl.c
index 976f29e..209ae74 100644 (file)
@@ -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);
 }