about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/m68k/sysdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/sysdep.h b/sysdeps/unix/sysv/linux/m68k/sysdep.h
index 08047ebda0..d445471440 100644
--- a/sysdeps/unix/sysv/linux/m68k/sysdep.h
+++ b/sysdeps/unix/sysv/linux/m68k/sysdep.h
@@ -170,7 +170,8 @@ SYSCALL_ERROR_LABEL:							      \
        register int _d0 asm ("%d0") = __NR_##name;	\
        asm volatile ("trap #0"				\
 		     : "=d" (_d0)			\
-		     : "0" (_d0) ASM_ARGS_##nr);	\
+		     : "0" (_d0) ASM_ARGS_##nr		\
+		     : "d0");				\
        _sys_result = _d0;				\
      }							\
      if (_sys_result >= (unsigned int) -4095)		\