sbin/hammer: err() on readhammerbuf() failure
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 8 Jun 2016 02:13:36 +0000 (11:13 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 8 Jun 2016 04:29:27 +0000 (13:29 +0900)
commite1c83ee56e07324e3921c1b96bb2a723847021c8
treec109a8ecb959d99c0502ff76b39359edf7103cfa
parent34885004d742c0329cdb91c5e58fd35b1125e108
sbin/hammer: err() on readhammerbuf() failure

If readhammerbuf() failed to read 16KB buffer, it should err()
regardless of AssertOnFailure flag.

Continuing with bzero'd buffer won't help anything other than
making a problem difficult to investigate.
sbin/hammer/ondisk.c