From: Khem Raj Date: Fri, 3 Feb 2012 18:57:44 +0000 (-0800) Subject: Declare __err and pass it to INTERNAL_SYSCALL_NCS so subsequent macros can use it X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=812ae602fe96bb40d1743d410eb1eadb6aa722f5;p=uclinux-h8%2Fuclibc-ng.git Declare __err and pass it to INTERNAL_SYSCALL_NCS so subsequent macros can use it Signed-off-by: Khem Raj --- diff --git a/libc/sysdeps/linux/common/bits/syscalls-common.h b/libc/sysdeps/linux/common/bits/syscalls-common.h index faebd1b71..0f5a92990 100644 --- a/libc/sysdeps/linux/common/bits/syscalls-common.h +++ b/libc/sysdeps/linux/common/bits/syscalls-common.h @@ -59,8 +59,8 @@ #ifndef INLINE_SYSCALL_NOERR_NCS # define INLINE_SYSCALL_NOERR_NCS(name, nr, args...) \ ({ \ - /*INTERNAL_SYSCALL_DECL(__err);*/ \ - long __res = INTERNAL_SYSCALL_NCS(name, /*__err*/, nr, args); \ + INTERNAL_SYSCALL_DECL(__err); \ + long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args); \ __res; \ }) #endif