Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst Don't display 'Yes' under 'Newfs' for ...



details:   https://anonhg.NetBSD.org/src/rev/ba1caa0c66b7
branches:  trunk
changeset: 584224:ba1caa0c66b7
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Sep 11 20:38:26 2005 +0000

description:
Don't display 'Yes' under 'Newfs' for swap

diffstat:

 distrib/utils/sysinst/bsddisklabel.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 200b1d04a5c6 -r ba1caa0c66b7 distrib/utils/sysinst/bsddisklabel.c
--- a/distrib/utils/sysinst/bsddisklabel.c      Sun Sep 11 20:26:15 2005 +0000
+++ b/distrib/utils/sysinst/bsddisklabel.c      Sun Sep 11 20:38:26 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bsddisklabel.c,v 1.34 2005/02/20 20:42:36 dsl Exp $    */
+/*     $NetBSD: bsddisklabel.c,v 1.35 2005/09/11 20:38:26 dsl Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -142,7 +142,7 @@
        p = bsdlabel + ptn;
        p->pi_offset = start;
        p->pi_size = size;
-       set_ptype(p, fstype, PIF_NEWFS);
+       set_ptype(p, fstype, mountpt ? PIF_NEWFS : 0);
 
        if (mountpt != NULL) {
                for (pp = 0; pp < maxptn; pp++) {



Home | Main Index | Thread Index | Old Index