summaryrefslogtreecommitdiff
path: root/mtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtree.c')
-rw-r--r--mtree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mtree.c b/mtree.c
index 8c4e6abc917d..8b4cb9494d53 100644
--- a/mtree.c
+++ b/mtree.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mtree.c,v 1.48 2013/04/08 17:39:11 christos Exp $ */
+/* $NetBSD: mtree.c,v 1.49 2014/04/24 17:22:41 christos Exp $ */
/*-
* Copyright (c) 1989, 1990, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1990, 1993\
#if 0
static char sccsid[] = "@(#)mtree.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: mtree.c,v 1.48 2013/04/08 17:39:11 christos Exp $");
+__RCSID("$NetBSD: mtree.c,v 1.49 2014/04/24 17:22:41 christos Exp $");
#endif
#endif /* not lint */
@@ -296,11 +296,11 @@ main(int argc, char **argv)
mtree_err("-l and -u flags are mutually exclusive");
if (cflag) {
- cwalk();
+ cwalk(stdout);
exit(0);
}
if (Cflag || Dflag) {
- dump_nodes("", spec(spec1), Dflag);
+ dump_nodes(stdout, "", spec(spec1), Dflag);
exit(0);
}
if (spec2 != NULL)