search for: 0d6b27e

Displaying 1 result from an estimated 1 matches for "0d6b27e".

2006 May 01
2
klibc: s390 errno...
...-11,6 +11,6 @@ long int __syscall_common(long int err) { if ((unsigned long)(err) < (unsigned long)(-125)) return err; - errno = err; + errno = -err; return -1; } diff --git a/usr/klibc/arch/s390x/syscall.c b/usr/klibc/arch/s390x/syscall.c index 0d6b27e..c0f17c4 100644 --- a/usr/klibc/arch/s390x/syscall.c +++ b/usr/klibc/arch/s390x/syscall.c @@ -11,6 +11,6 @@ long int __syscall_common(long int err) { if ((unsigned long)(err) < (unsigned long)(-125)) return err; - errno = -err; + errno = err; retu...