From ab262188b031c842ae09b15b150600287ead45cc Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 27 Oct 2000 21:40:35 +0000 Subject: More random fixes and additions. --- libc/sysdeps/linux/common/syscalls.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/syscalls.c') 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 #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 -- cgit v1.2.3