Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/dumpfs don't drop -v option when using other defaults



details:   https://anonhg.NetBSD.org/src/rev/7b2d8fdd991e
branches:  trunk
changeset: 556882:7b2d8fdd991e
user:      dbj <dbj%NetBSD.org@localhost>
date:      Mon Dec 29 14:25:07 2003 +0000

description:
don't drop -v option when using other defaults

diffstat:

 usr.sbin/dumpfs/dumpfs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 373e87bff1ca -r 7b2d8fdd991e usr.sbin/dumpfs/dumpfs.c
--- a/usr.sbin/dumpfs/dumpfs.c  Mon Dec 29 13:33:58 2003 +0000
+++ b/usr.sbin/dumpfs/dumpfs.c  Mon Dec 29 14:25:07 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dumpfs.c,v 1.40 2003/12/28 06:06:55 dbj Exp $  */
+/*     $NetBSD: dumpfs.c,v 1.41 2003/12/29 14:25:07 dbj Exp $  */
 
 /*
  * Copyright (c) 1983, 1992, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)dumpfs.c   8.5 (Berkeley) 4/29/95";
 #else
-__RCSID("$NetBSD: dumpfs.c,v 1.40 2003/12/28 06:06:55 dbj Exp $");
+__RCSID("$NetBSD: dumpfs.c,v 1.41 2003/12/29 14:25:07 dbj Exp $");
 #endif
 #endif /* not lint */
 
@@ -133,7 +133,7 @@
        argv += optind;
 
        if ((opt_flags & DFLT_CHECK) == 0)
-               opt_flags = DFLT_OPTS;
+               opt_flags |= DFLT_OPTS;
 
        if (argc < 1)
                usage();



Home | Main Index | Thread Index | Old Index