summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/syscalls-common.h
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-02-03 10:57:44 -0800
committerKhem Raj <raj.khem@gmail.com>2012-02-05 12:11:10 -0800
commit812ae602fe96bb40d1743d410eb1eadb6aa722f5 (patch)
treea9a9c7dd3c4e4b072b2726f14248bdc54ecf85c5 /libc/sysdeps/linux/common/bits/syscalls-common.h
parente288fdca5828d068b42372b133dd7b038e2bee42 (diff)
Declare __err and pass it to INTERNAL_SYSCALL_NCS so subsequent macros can use it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/syscalls-common.h')
-rw-r--r--libc/sysdeps/linux/common/bits/syscalls-common.h4
1 files changed, 2 insertions, 2 deletions
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