X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Flinux%2Fklogctl.c;h=209ae7421b0088fc3238eed2573cfab9e30358ac;hp=976f29e3887b6ebf605bea6b5ad251a1f5b26ddd;hb=aa398f56fa398f2202b04e82c67f822f3233786f;hpb=be82e122bf37fdcd1766d1ed220f0300b30ab6a3 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); }