projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git]
/
src
/
linux
/
klogctl.c
diff --git
a/src/linux/klogctl.c
b/src/linux/klogctl.c
index 6c288aff2b9212fa6656fcea71c5b79b23266d24..209ae7421b0088fc3238eed2573cfab9e30358ac 100644
(file)
--- a/
src/linux/klogctl.c
+++ b/
src/linux/klogctl.c
@@
-1,7
+1,6
@@
-#define SYSCALL_STANDALONE
#include "syscall.h"
int klogctl (int type, char *buf, int len)
{
- return syscall
3(__NR_syslog, type, (long)
buf, len);
+ return syscall
(SYS_syslog, type,
buf, len);
}