summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index ea8ef0186..8943e76e8 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -647,10 +647,16 @@ _syscall2(int,socketcall,int,call,unsigned long *,args);
#endif
//#define __NR_syslog 103
-#ifdef L_syslog
+#ifdef L__syslog
#include <unistd.h>
#define __NR__syslog __NR_syslog
_syscall3(int,_syslog,int, type, char *, buf, int, len);
+
+int klogctl (int type, char * buf, int len)
+{
+ return(_syslog(type, buf, len));
+}
+
#endif
//#define __NR_setitimer 104