summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-27 21:40:35 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-27 21:40:35 +0000
commitab262188b031c842ae09b15b150600287ead45cc (patch)
tree298ed601fc88cee59b319ff4496c927565de9acb /libc/sysdeps
parent8fee51d63a5ca4a119850c9831a7219fe496df6c (diff)
More random fixes and additions.
Diffstat (limited to 'libc/sysdeps')
-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