projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
[musl]
/
src
/
linux
/
adjtimex.c
diff --git
a/src/linux/adjtimex.c
b/src/linux/adjtimex.c
index
91de682
..
e9d727c
100644
(file)
--- a/
src/linux/adjtimex.c
+++ b/
src/linux/adjtimex.c
@@
-1,7
+1,7
@@
#include <sys/timex.h>
-#include
"syscall.h"
+#include
<time.h>
int adjtimex(struct timex *tx)
{
- return
syscall(SYS_adjtimex
, tx);
+ return
clock_adjtime(CLOCK_REALTIME
, tx);
}