From 3c3f9852802e6fb16b7fdd1b20b14ae6edb4a400 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 9 Aug 2002 12:21:55 +0000 Subject: Doh! I broke it. oops. Patch from Stefan Allius to fix it. --- libc/sysdeps/linux/sh/bits/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/sh/bits/syscalls.h b/libc/sysdeps/linux/sh/bits/syscalls.h index be50af547..a9b41059a 100644 --- a/libc/sysdeps/linux/sh/bits/syscalls.h +++ b/libc/sysdeps/linux/sh/bits/syscalls.h @@ -25,7 +25,7 @@ do { \ /* Avoid using "res" which is declared to be in register r0; \ errno might expand to a function call and clobber it. */ \ int __err = -(res); \ - __set_errno = __err; \ + __set_errno(__err); \ res = -1; \ } \ return (type) (res); \ -- cgit v1.2.3