summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2007-03-18 20:00:02 +0000
committerotto <otto@openbsd.org>2007-03-18 20:00:02 +0000
commitf1de169da1eb400cba7aea21d0b17020cfe6c5b6 (patch)
tree8222ca28e69fdb7a929f4ec3e25b93b6a157da1d /sys/dev/usb/uhub.c
parentDisable stack frame checking in the prologue under OpenBSD, unless you compile (diff)
downloadwireguard-openbsd-f1de169da1eb400cba7aea21d0b17020cfe6c5b6.tar.xz
wireguard-openbsd-f1de169da1eb400cba7aea21d0b17020cfe6c5b6.zip
Check for zero divisor _before_ dividing; do not use floating
point arithmetic to round to a cylinder boundary when a simple integer expression can do the job as well. ok millert@ miod@
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions