Module Name:    src
Committed By:   martin
Date:           Fri Jul 12 18:25:08 UTC 2019

Modified Files:
        src/usr.sbin/sysinst: part_edit.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/part_edit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/part_edit.c
diff -u src/usr.sbin/sysinst/part_edit.c:1.6 src/usr.sbin/sysinst/part_edit.c:1.7
--- src/usr.sbin/sysinst/part_edit.c:1.6	Tue Jul  9 16:14:46 2019
+++ src/usr.sbin/sysinst/part_edit.c	Fri Jul 12 18:25:08 2019
@@ -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 @@ parts_use_wholedisk(struct disk_partitio
 			    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;

Reply via email to