Don't display 'Yes' under 'Newfs' for swap
This commit is contained in:
parent
6a34aa32a0
commit
0c7751d999
|
@ -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 @@ save_ptn(int ptn, int start, int size, int fstype, const char *mountpt)
|
|||
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++) {
|
||||
|
|
Loading…
Reference in New Issue