X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fklogctl.c;h=8102ee641c3047b5d12e3a9722bf50333c897a88;hb=dcb31f6b450fdeed4dc364e15cd190e8562ea227;hp=6c288aff2b9212fa6656fcea71c5b79b23266d24;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/linux/klogctl.c b/src/linux/klogctl.c index 6c288aff..8102ee64 100644 --- a/src/linux/klogctl.c +++ b/src/linux/klogctl.c @@ -1,7 +1,7 @@ -#define SYSCALL_STANDALONE +#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); }