Module Name:    src
Committed By:   martin
Date:           Sun Jun 16 13:02:29 UTC 2019

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

Log Message:
Lower estimates on required install size


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/usr.sbin/sysinst/part_edit.c:1.3
--- src/usr.sbin/sysinst/part_edit.c:1.2	Sat Jun 15 08:20:33 2019
+++ src/usr.sbin/sysinst/part_edit.c	Sun Jun 16 13:02:29 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: part_edit.c,v 1.2 2019/06/15 08:20:33 martin Exp $ */
+/*	$NetBSD: part_edit.c,v 1.3 2019/06/16 13:02:29 martin Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -1127,7 +1127,7 @@ edit_outer_parts(struct disk_partitions 
 		    *sec_short = msg_string(sec->short_name);
 
 		humanize_number(min_size, sizeof(min_size),
-		    2 * m_size * MEG,
+		    m_size * MEG,
 		    "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL);
 		humanize_number(build_size, sizeof(build_size),
 		     SYSTEM_BUILD_SIZE * MEG, "", HN_AUTOSCALE,

Reply via email to