Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst bootxx_name() - fix oversight in previous c...



details:   https://anonhg.NetBSD.org/src/rev/8d7f7525b351
branches:  trunk
changeset: 744554:8d7f7525b351
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 06 10:42:06 2020 +0000

description:
bootxx_name() - fix oversight in previous change (do not assume first
partition is the root partition)

diffstat:

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

diffs (18 lines):

diff -r b8731f07855f -r 8d7f7525b351 usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Thu Feb 06 08:45:44 2020 +0000
+++ b/usr.sbin/sysinst/disks.c  Thu Feb 06 10:42:06 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.62 2020/01/27 21:21:22 martin Exp $ */
+/*     $NetBSD: disks.c,v 1.63 2020/02/06 10:42:06 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -2006,7 +2006,7 @@
        switch (fstype) {
 #if defined(BOOTXX_FFSV1) || defined(BOOTXX_FFSV2)
        case FS_BSDFFS:
-               if (install->infos[0].fs_version == 2) {
+               if (install->infos[i].fs_version == 2) {
 #ifdef BOOTXX_FFSV2
                        bootxxname = BOOTXX_FFSV2;
 #else



Home | Main Index | Thread Index | Old Index