aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-20 20:23:25 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-20 20:23:25 +0000
commit44ed664bfd25fdd9fb51ca04845d3e1305a35954 (patch)
treedf798c54fe7727841a1aedfe90ad645d4b5e315c
parentffdcfcb0e44269992b4f9fe1587899e13d2d2acc (diff)
downloadglibc-44ed664bfd25fdd9fb51ca04845d3e1305a35954.zip
glibc-44ed664bfd25fdd9fb51ca04845d3e1305a35954.tar.gz
glibc-44ed664bfd25fdd9fb51ca04845d3e1305a35954.tar.bz2
Update.
2003-02-20 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add missing arguments to INTERNAL_SYSCALL_ERROR_P and INTERNAL_SYSCALL_ERRNO.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/arm/sysdep.h6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b7f795..96414e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-20 Philip Blundell <philb@gnu.org>
+
+ * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
+ missing arguments to INTERNAL_SYSCALL_ERROR_P and
+ INTERNAL_SYSCALL_ERRNO.
+
2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h
index 33ce123..785d3cf 100644
--- a/sysdeps/unix/sysv/linux/arm/sysdep.h
+++ b/sysdeps/unix/sysv/linux/arm/sysdep.h
@@ -138,10 +138,10 @@ __local_syscall_error: \
call. */
#undef INLINE_SYSCALL
#define INLINE_SYSCALL(name, nr, args...) \
- ({ unsigned int _sys_result = INTERNAL_SYSCALL (name, nr, args); \
- if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (_sys_result), 0)) \
+ ({ unsigned int _sys_result = INTERNAL_SYSCALL (name, , nr, args); \
+ if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (_sys_result, ), 0)) \
{ \
- __set_errno (INTERNAL_SYSCALL_ERRNO (_sys_result)); \
+ __set_errno (INTERNAL_SYSCALL_ERRNO (_sys_result, )); \
_sys_result = (unsigned int) -1; \
} \
(int) _sys_result; })