Browse Source

Declare __err and pass it to INTERNAL_SYSCALL_NCS so subsequent macros can use it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 13 years ago
parent
commit
812ae602fe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libc/sysdeps/linux/common/bits/syscalls-common.h

+ 2 - 2
libc/sysdeps/linux/common/bits/syscalls-common.h

@@ -59,8 +59,8 @@
 #ifndef INLINE_SYSCALL_NOERR_NCS
 #ifndef INLINE_SYSCALL_NOERR_NCS
 # define INLINE_SYSCALL_NOERR_NCS(name, nr, args...)			\
 # define INLINE_SYSCALL_NOERR_NCS(name, nr, args...)			\
 ({									\
 ({									\
-	/*INTERNAL_SYSCALL_DECL(__err);*/					\
+	INTERNAL_SYSCALL_DECL(__err);					\
-	long __res = INTERNAL_SYSCALL_NCS(name, /*__err*/, nr, args);	\
+	long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args);	\
 	__res;								\
 	__res;								\
 })
 })
 #endif
 #endif