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