summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/ffsinfo/ffsinfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/ffsinfo/ffsinfo.c b/sbin/ffsinfo/ffsinfo.c
index 50bb70a..0ef5e9e 100644
--- a/sbin/ffsinfo/ffsinfo.c
+++ b/sbin/ffsinfo/ffsinfo.c
@@ -141,7 +141,7 @@ main(int argc, char **argv)
cfg_lv = 0xff;
cfg_in = -2;
cfg_cg = -2;
- out_file = NULL;
+ out_file = "-";
while ((ch = getopt(argc, argv, "g:i:l:o:")) != -1) {
switch (ch) {
@@ -184,8 +184,6 @@ main(int argc, char **argv)
if (argc != 1)
usage();
device = *argv;
- if (out_file == NULL)
- errx(1, "out_file not specified");
/*
* Now we try to guess the (raw)device name.
OpenPOWER on IntegriCloud