chiark / gitweb /
volume_id: provide libvolume_id.a file
[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 }