diff options
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r-- | sbin/dumpfs/dumpfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c index dae0f53..3ac2ccf 100644 --- a/sbin/dumpfs/dumpfs.c +++ b/sbin/dumpfs/dumpfs.c @@ -244,7 +244,8 @@ dumpfs(const char *name) err: libufs_printerror(&disk); ufs_disk_close(&disk); - warn("%s", name); + if (errno) + warn("%s", name); return (1); } |