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_settime.c
diff --git
a/src/time/clock_settime.c
b/src/time/clock_settime.c
index e880fb33fb28d07533fdc2d45243560280e1868b..66b8162d72b540de5cefdbb62e8af6d3963d166c 100644
(file)
--- a/
src/time/clock_settime.c
+++ b/
src/time/clock_settime.c
@@
-1,8
+1,7
@@
-#define SYSCALL_RETURN_ERRNO
#include <time.h>
#include "syscall.h"
int clock_settime(clockid_t clk, const struct timespec *ts)
{
- return syscall
2(__NR_clock_settime, clk, (long)
ts);
+ return syscall
(SYS_clock_settime, clk,
ts);
}