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 primary boot selection for FFSv2ea file...



details:   https://anonhg.NetBSD.org/src/rev/3b9802001fad
branches:  trunk
changeset: 372472:3b9802001fad
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Nov 30 19:44:06 2022 +0000

description:
Fix primary boot selection for FFSv2ea filesystems

diffstat:

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

diffs (18 lines):

diff -r 5ad3109bd7b4 -r 3b9802001fad usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Wed Nov 30 18:15:32 2022 +0000
+++ b/usr.sbin/sysinst/disks.c  Wed Nov 30 19:44:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.91 2022/11/30 15:53:35 martin Exp $ */
+/*     $NetBSD: disks.c,v 1.92 2022/11/30 19:44:06 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -2234,7 +2234,7 @@
        switch (fstype) {
 #if defined(BOOTXX_FFSV1) || defined(BOOTXX_FFSV2)
        case FS_BSDFFS:
-               if (install->infos[i].fs_version == 2) {
+               if (install->infos[i].fs_version >= 2) {
 #ifdef BOOTXX_FFSV2
                        bootxxname = BOOTXX_FFSV2;
 #else



Home | Main Index | Thread Index | Old Index