summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-09 12:21:55 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-09 12:21:55 +0000
commit3c3f9852802e6fb16b7fdd1b20b14ae6edb4a400 (patch)
tree2a9a247fc34a68a7f1574adcdc8b00f737c45919 /libc/sysdeps/linux/sh
parentfa211c565c10f44f85e98046cbc1c9391d53ddcb (diff)
Doh! I broke it. oops. Patch from Stefan Allius to fix it.
Diffstat (limited to 'libc/sysdeps/linux/sh')
-rw-r--r--libc/sysdeps/linux/sh/bits/syscalls.h2
1 files changed, 1 insertions, 1 deletions
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); \