projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
odhcpd: fix compilation with musl 1.2.0
[project/odhcpd.git]
/
src
/
odhcpd.c
diff --git
a/src/odhcpd.c
b/src/odhcpd.c
index 4b8e5898d450bc661e0f4d29b48dfff1f35a101c..26094b1143c4ca18f785969d54648eaa0734b9d1 100644
(file)
--- a/
src/odhcpd.c
+++ b/
src/odhcpd.c
@@
-440,7
+440,7
@@
int odhcpd_urandom(void *data, size_t len)
time_t odhcpd_time(void)
{
struct timespec ts;
-
syscall(SYS_clock_gettime,
CLOCK_MONOTONIC, &ts);
+
clock_gettime(
CLOCK_MONOTONIC, &ts);
return ts.tv_sec;
}