projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove TCP_COOKIE_TRANSACTIONS from tcp.h
[musl]
/
src
/
signal
/
getitimer.c
diff --git
a/src/signal/getitimer.c
b/src/signal/getitimer.c
index
222d113
..
8a8046a
100644
(file)
--- a/
src/signal/getitimer.c
+++ b/
src/signal/getitimer.c
@@
-3,10
+3,5
@@
int getitimer(int which, struct itimerval *old)
{
int getitimer(int which, struct itimerval *old)
{
- int ret;
- long kold[4];
-
- if (!(ret = syscall2(__NR_getitimer, which, (long)&kold)))
- *old = (struct itimerval){ { kold[0], kold[1] }, { kold[2], kold[3] } };
- return ret;
+ return syscall(SYS_getitimer, which, old);
}
}