Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Lower estimates on required install size



details:   https://anonhg.NetBSD.org/src/rev/ca9492a6aff6
branches:  trunk
changeset: 452035:ca9492a6aff6
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jun 16 13:02:29 2019 +0000

description:
Lower estimates on required install size

diffstat:

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

diffs (18 lines):

diff -r e5f0eb00f63b -r ca9492a6aff6 usr.sbin/sysinst/part_edit.c
--- a/usr.sbin/sysinst/part_edit.c      Sun Jun 16 11:05:58 2019 +0000
+++ b/usr.sbin/sysinst/part_edit.c      Sun Jun 16 13:02:29 2019 +0000
@@ -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 @@
                    *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,



Home | Main Index | Thread Index | Old Index