Use CLOCK_UPTIME instead of CLOCK_MONOTONIC, as the later makes jumps
authorratchov <ratchov@openbsd.org>
Thu, 30 Jun 2016 21:37:29 +0000 (21:37 +0000)
committerratchov <ratchov@openbsd.org>
Thu, 30 Jun 2016 21:37:29 +0000 (21:37 +0000)
commit3471b98a1c242378978628aa4fbcc93b54ab52c7
tree50c2f6e0988b383a86d76ffbf530ee75234293ba
parent4d89aaebdca7d1aff9179b5d074c31d49c0727e4
Use CLOCK_UPTIME instead of CLOCK_MONOTONIC, as the later makes jumps
during suspend/resume cycles which triggers watchdog time-outs and
in turn prevents sndiod from resuming.
usr.bin/sndiod/file.c