diff options
Diffstat (limited to 'user/sntpd/select.patch')
-rw-r--r-- | user/sntpd/select.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user/sntpd/select.patch b/user/sntpd/select.patch index 00121d80b..f0e25055a 100644 --- a/user/sntpd/select.patch +++ b/user/sntpd/select.patch @@ -1,10 +1,10 @@ select(3) does not modify its timeout in musl, as permitted by POSIX ---- sntpd-7e372536855687f0af3c7ddde5fcb965b93d5d1e/src/sntpd.c -+++ sntpd-7e372536855687f0af3c7ddde5fcb965b93d5d1e/src/sntpd.c -@@ -686,7 +686,7 @@ static void primary_loop(int usd, struct ntp_control *ntpc) - ERR(errno, "Failed select()"); +--- sntpd-3.0/src/sntpd.c ++++ sntpd-3.0/src/sntpd.c +@@ -663,7 +663,7 @@ static void loop(struct ntp_control *ntpc) continue; } + - if (to.tv_sec == 0) { + if (1) { if (probes_sent >= ntpc->probe_count && ntpc->probe_count != 0) |