diff options
| author | Eric Andersen <andersen@codepoet.org> | 2002-08-09 12:21:55 +0000 | 
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2002-08-09 12:21:55 +0000 | 
| commit | 3c3f9852802e6fb16b7fdd1b20b14ae6edb4a400 (patch) | |
| tree | 2a9a247fc34a68a7f1574adcdc8b00f737c45919 | |
| parent | fa211c565c10f44f85e98046cbc1c9391d53ddcb (diff) | |
| download | uClibc-alpine-3c3f9852802e6fb16b7fdd1b20b14ae6edb4a400.tar.bz2 uClibc-alpine-3c3f9852802e6fb16b7fdd1b20b14ae6edb4a400.tar.xz  | |
Doh!  I broke it.  oops.  Patch from Stefan Allius to fix it.
| -rw-r--r-- | libc/sysdeps/linux/sh/bits/syscalls.h | 2 | 
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); \  | 
