Browse Source

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

Eric Andersen 22 năm trước cách đây
mục cha
commit
3c3f985280
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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); \