diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-19 21:04:15 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-19 21:04:15 +0000 |
commit | aebf0c050a8598c864dda377b4fadb79225d34ca (patch) | |
tree | f67c89bb2536f64c390654810b1aa1b95ae0a11e /libc/sysdeps/linux/common/get_kernel_syms.c | |
parent | 6f728cdcf296054020c8606cb8cb841d84a64245 (diff) | |
download | uClibc-alpine-aebf0c050a8598c864dda377b4fadb79225d34ca.tar.bz2 uClibc-alpine-aebf0c050a8598c864dda377b4fadb79225d34ca.tar.xz |
Sync up with trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/get_kernel_syms.c')
-rw-r--r-- | libc/sysdeps/linux/common/get_kernel_syms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/get_kernel_syms.c b/libc/sysdeps/linux/common/get_kernel_syms.c index ae19cd2c7..92a105ebd 100644 --- a/libc/sysdeps/linux/common/get_kernel_syms.c +++ b/libc/sysdeps/linux/common/get_kernel_syms.c @@ -9,13 +9,13 @@ #include "syscalls.h" -#ifdef __NR_get_kernel_syms struct kernel_sym; +#ifdef __NR_get_kernel_syms _syscall1(int, get_kernel_syms, struct kernel_sym *, table); #else int get_kernel_syms(struct kernel_sym *table) { __set_errno(ENOSYS); - return (unsigned long)-1; + return -1; } #endif |