commit e1c83ee56e07324e3921c1b96bb2a723847021c8
Author: Tomohiro Kusumi <[email protected]>
Date: Wed Jun 8 11:13:36 2016 +0900
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.
Summary of changes:
sbin/hammer/ondisk.c | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e1c83ee56e07324e3921c1b96bb2a723847021c8
--
DragonFly BSD source repository