Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Fix copy & pasto: when using the whole disk...



details:   https://anonhg.NetBSD.org/src/rev/6d09feb3c3a4
branches:  trunk
changeset: 457689:6d09feb3c3a4
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jul 12 18:25:08 2019 +0000

description:
Fix copy & pasto: when using the whole disk but requiring boot partitions,
do not extend the size of the boot partition(s) to full disk size.

diffstat:

 usr.sbin/sysinst/part_edit.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 484384700f92 -r 6d09feb3c3a4 usr.sbin/sysinst/part_edit.c
--- a/usr.sbin/sysinst/part_edit.c      Fri Jul 12 18:23:06 2019 +0000
+++ b/usr.sbin/sysinst/part_edit.c      Fri Jul 12 18:25:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: part_edit.c,v 1.6 2019/07/09 16:14:46 martin Exp $ */
+/*     $NetBSD: part_edit.c,v 1.7 2019/07/12 18:25:08 martin Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -834,7 +834,6 @@
                            1, info.size, align, -1, -1) != 1)
                                return false;
                        info.start = space.start;
-                       info.size = space.size;
                        if (parts->pscheme->add_partition(parts, &info, NULL)
                            == NO_PART)
                                return false;



Home | Main Index | Thread Index | Old Index