summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2017-12-23 20:58:15 +0000
committercheloha <cheloha@cvs.openbsd.org>2017-12-23 20:58:15 +0000
commit11864459746eb843832b0c50f3240a053d3ae023 (patch)
tree502afd48a14239f01daeeb0773ac25142b521765 /usr.bin
parent24742988183dcde580f2ff0832bb5c25e648798e (diff)
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
While here, use err(3) instead of errx(3) if adjtime(2) fails. Discussed/tweaked with/by tb@ and jca@. ok tb@ jca@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions