summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2020-08-08 01:01:27 +0000
committercheloha <cheloha@cvs.openbsd.org>2020-08-08 01:01:27 +0000
commit2c3e9e9fec86cf935a2c9986b92019bbe65e62cc (patch)
treeebf8f14bc75d839a4737b64203e8210ff9f3a323 /sbin
parentd3da3fe8450a36ba026150fc04398aa0e5a3d859 (diff)
adjtime(2): simplify input validation for new adjustment
The current input validation for overflow is more complex than it needs to be. We can flatten the conditional hierarchy into a string of checks just one level deep. The result is easier to read.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions