projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
type directives for x86_64 math asm
[oweals/musl.git]
/
src
/
time
/
clock_getres.c
diff --git
a/src/time/clock_getres.c
b/src/time/clock_getres.c
index e86a1ee45aaba6cf9fb57a68b6bc2454bf8e5a02..36a0d695b02e29b1bbfd162061cb113c8550bfc2 100644
(file)
--- a/
src/time/clock_getres.c
+++ b/
src/time/clock_getres.c
@@
-1,8
+1,7
@@
-#define SYSCALL_RETURN_ERRNO
#include <time.h>
#include "syscall.h"
int clock_getres(clockid_t clk, struct timespec *ts)
{
- return syscall
2(__NR_clock_getres, clk, (long)
ts);
+ return syscall
(SYS_clock_getres, clk,
ts);
}