chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a5895fe88e834f3d74d5f0b67b86a92d68b7fccd
[elogind.git]
/
klibc
/
klibc
/
arch
/
ppc64
/
syscall.c
1
/*
2
* arch/ppc64/syscall.c
3
*
4
* Common error-handling path for system calls.
5
* The return value from __syscall_error becomes the
6
* return value from the system call.
7
*/
8
#include <errno.h>
9
10
long int __syscall_error(long int err)
11
{
12
errno = err;
13
return -1;
14
}