git: usr.sbin/fstyp: Don't fail fsvtyp with err(3) on fopen failure

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Dec 8 09:50:59 PST 2020


commit 113ac07fab317a775e85357eb14e4e12fcf2b79c
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Dec 9 02:16:49 2020 +0900

    usr.sbin/fstyp: Don't fail fsvtyp with err(3) on fopen failure
    
    fsvtyp vectors (currently only for HAMMER1) need to open device(s),
    but don't exit with err(3) on fopen failure. This behavior interferes
    with fsvtyp for HAMMER2 when it gets supported in future.

Summary of changes:
 usr.sbin/fstyp/hammer.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/113ac07fab317a775e85357eb14e4e12fcf2b79c


-- 
DragonFly BSD source repository


More information about the Commits mailing list