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
/
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
}