about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/exit-thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/exit-thread.h')
-rw-r--r--sysdeps/unix/sysv/linux/exit-thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/exit-thread.h b/sysdeps/unix/sysv/linux/exit-thread.h
index 083e4620d9..d617594bfd 100644
--- a/sysdeps/unix/sysv/linux/exit-thread.h
+++ b/sysdeps/unix/sysv/linux/exit-thread.h
@@ -32,7 +32,6 @@ __exit_thread (void)
      of the caller and doing unexpectedly strange things.  */
   while (1)
     {
-      INTERNAL_SYSCALL_DECL (err);
-      INTERNAL_SYSCALL (exit, err, 1, 0);
+      INTERNAL_SYSCALL_CALL (exit, 0);
     }
 }