diff options
Diffstat (limited to 'src/signal/getitimer.c')
-rw-r--r-- | src/signal/getitimer.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/signal/getitimer.c b/src/signal/getitimer.c index 222d113e..8a8046a7 100644 --- a/src/signal/getitimer.c +++ b/src/signal/getitimer.c @@ -3,10 +3,5 @@ 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); } |