Nuke pointless dev_bsize variable which is always set to 512, and just
authorkrw <krw@openbsd.org>
Thu, 22 May 2014 14:38:48 +0000 (14:38 +0000)
committerkrw <krw@openbsd.org>
Thu, 22 May 2014 14:38:48 +0000 (14:38 +0000)
commit2a5858225fa1e8a26b001017b14e87554b6a5193
treede71c054f044d5017c54686129bc707c763f453d
parente6832ce86da6010ce60cd753d76f8d68ed3c1422
Nuke pointless dev_bsize variable which is always set to 512, and just
use DEV_BSIZE.

Replace lseek+read with pread().
sbin/badsect/badsect.c