Remove useless dev_bsize variable and use DEV_BSIZE as needed. Divide
authorkrw <krw@openbsd.org>
Mon, 12 May 2014 21:10:35 +0000 (21:10 +0000)
committerkrw <krw@openbsd.org>
Mon, 12 May 2014 21:10:35 +0000 (21:10 +0000)
commitab7a365b37577f72d54a5c9e6befa10cf8351665
tree148458f1893b40e64cf0a58a38f29ad3785e5d2a
parentb631dad79df01062a762f2b324c9e691c6098b84
Remove useless dev_bsize variable and use DEV_BSIZE as needed. Divide
sblock_try[] entries by DEV_BSIZE to get proper 512-byte-block address
for bread().

Confirmed to still work on 4k-byte sector devices by David Vasek.
sbin/quotacheck/quotacheck.c