musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/klogctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/klogctl.c')
-rw-r--r--src/linux/klogctl.c 2
1 files changed, 1 insertions, 1 deletions
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);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月14日 13:21:52 +0000

AltStyle によって変換されたページ (->オリジナル) /