chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] update klibc to version 0.181
[elogind.git]
/
klibc
/
klibc
/
arch
/
s390x
/
syscall.c
1
/*
2
* arch/s390/syscall.c
3
*
4
* Common error-handling path for system calls.
5
* The return value from __syscall_common becomes the
6
* return value from the system call.
7
*/
8
#include <errno.h>
9
10
long int __syscall_common(long int err)
11
{
12
if ((unsigned long)(err) < (unsigned long)(-125))
13
return err;
14
errno = err;
15
return -1;
16
}