summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/printconf.c
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2018-12-31 18:54:01 +0000
committercheloha <cheloha@cvs.openbsd.org>2018-12-31 18:54:01 +0000
commit52d52069eefa32868f5c64d3f02cc8f4e55975fe (patch)
treef3ed9a1e00d4a5c5275ca961a70884fe973c56d5 /usr.sbin/ripd/printconf.c
parentecfb99b9f02fa8472d59ce2c3363c84ad6fc5255 (diff)
nanosleep: loop tsleep(9) to ensure coverage of the full timeout range.
tsleep(9)'s maximum timeout shrinks as HZ grows, so this ensures we do not return early from longer timeouts on alpha or on custom kernels. POSIX says you cannot return early unless a signal is delivered, so this makes us more compliant with the standard. While here, remove the 100 million second upper bound. It is an artifact from itimerfix() and it serves no discernible purpose. ok tedu@ visa@
Diffstat (limited to 'usr.sbin/ripd/printconf.c')
0 files changed, 0 insertions, 0 deletions