summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwfm.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2022-07-08 20:47:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2022-07-08 20:47:25 +0000
commitbebaac5b8031ea182e973248426f9f9f20b1523f (patch)
treeaf8291d88122bfa78c22587dfb0c2e819a2da265 /sys/dev/ic/bwfm.c
parent1c47409c702d965373f525a9d584bcd3b0c59af6 (diff)
Add a missing check for negative tv_sec when setting the timeout.
Also clear the entire timeout if the remaining time becomes negative instead of just clearing tv_sec or tv_nsec. OK cheloha@.
Diffstat (limited to 'sys/dev/ic/bwfm.c')
0 files changed, 0 insertions, 0 deletions