diff options
author | 2017-12-23 20:58:14 +0000 | |
---|---|---|
committer | 2017-12-23 20:58:14 +0000 | |
commit | ed1d13df04198c8974c20dae7729d60fb8e0a117 (patch) | |
tree | 285c469919284b7dc054709402a51e8832a2130d /lib/libc | |
parent | As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3). (diff) | |
download | wireguard-openbsd-ed1d13df04198c8974c20dae7729d60fb8e0a117.tar.xz wireguard-openbsd-ed1d13df04198c8974c20dae7729d60fb8e0a117.zip |
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions