Przeglądaj źródła

Doh! I broke it. oops. Patch from Stefan Allius to fix it.

Eric Andersen 22 lat temu
rodzic
commit
3c3f985280
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      libc/sysdeps/linux/sh/bits/syscalls.h

+ 1 - 1
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); \