diff options
Diffstat (limited to 'dmesg.c')
-rw-r--r-- | dmesg.c | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -20,18 +20,13 @@ #include <getopt.h> #if __GNU_LIBRARY__ < 5 -#include <sys/syscall.h> -#include <linux/unistd.h> -#ifndef __alpha__ -# define __NR_klogctl __NR_syslog -static inline _syscall3(int, klogctl, int, type, char *, b, int, len); -#else /* __alpha__ */ -#define klogctl syslog -#endif - +# ifdef __alpha__ +# define klogctl syslog +# endif #else # include <sys/klog.h> #endif + #include "busybox.h" int dmesg_main(int argc, char **argv) |