usr.sbin/fstyp: Don't fail fsvtyp with err(3) on fopen failure
commit113ac07fab317a775e85357eb14e4e12fcf2b79c
authorTomohiro Kusumi <tkusumi@netbsd.org>
Tue, 8 Dec 2020 17:16:49 +0000 (9 02:16 +0900)
committerTomohiro Kusumi <tkusumi@netbsd.org>
Tue, 8 Dec 2020 17:48:31 +0000 (9 02:48 +0900)
tree77f27dd0dce1a76d93c2bae2e9e64406138d4dc8
parent1926f5871d8d40d0c202c5029b76a54a8e99de5b
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.
usr.sbin/fstyp/hammer.c