git: sbin/hammer: err() on readhammerbuf() failure
tkusumi at crater.dragonflybsd.org
Tue Jun 7 21:40:38 PDT 2016
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
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(-)
DragonFly BSD source repository
More information about the Commits