From 102f557a3bfe2540aeb89ffe56b2aec4026221e8 Mon Sep 17 00:00:00 2001 From: dsl Date: Fri, 21 Jan 2005 17:02:40 +0000 Subject: [PATCH] Ensure we only remove the size of /usr from that of / once. Fixes PR install/28568 --- distrib/utils/sysinst/bsddisklabel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distrib/utils/sysinst/bsddisklabel.c b/distrib/utils/sysinst/bsddisklabel.c index 864108dcd70c..202ef41faa81 100644 --- a/distrib/utils/sysinst/bsddisklabel.c +++ b/distrib/utils/sysinst/bsddisklabel.c @@ -1,4 +1,4 @@ -/* $NetBSD: bsddisklabel.c,v 1.32 2005/01/20 21:59:35 dsl Exp $ */ +/* $NetBSD: bsddisklabel.c,v 1.33 2005/01/21 17:02:40 dsl Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -258,6 +258,7 @@ set_ptn_size(menudesc *m, void *arg) if (!pi->ptn_sizes[0].changed) { pi->ptn_sizes[0].size -= p->dflt_size; pi->free_space += p->dflt_size; + pi->ptn_sizes[0].changed = 1; } /* hack to add free space to default sized /usr */ if (!strcmp(answer, dflt)) {