X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fklogctl.c;h=8102ee641c3047b5d12e3a9722bf50333c897a88;hb=94751d8ee40a866fa81e392d5c525ea144d2ee20;hp=976f29e3887b6ebf605bea6b5ad251a1f5b26ddd;hpb=9b235e8374bfe15f73d470b4ad7d1c579fd9a71e;p=musl diff --git a/src/linux/klogctl.c b/src/linux/klogctl.c index 976f29e3..8102ee64 100644 --- a/src/linux/klogctl.c +++ b/src/linux/klogctl.c @@ -1,6 +1,7 @@ +#include #include "syscall.h" int klogctl (int type, char *buf, int len) { - return syscall3(__NR_syslog, type, (long)buf, len); + return syscall(SYS_syslog, type, buf, len); }