Module Name:    src
Committed By:   martin
Date:           Wed Nov 30 19:44:06 UTC 2022

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

Log Message:
Fix primary boot selection for FFSv2ea filesystems


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/usr.sbin/sysinst/disks.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/disks.c
diff -u src/usr.sbin/sysinst/disks.c:1.91 src/usr.sbin/sysinst/disks.c:1.92
--- src/usr.sbin/sysinst/disks.c:1.91	Wed Nov 30 15:53:35 2022
+++ src/usr.sbin/sysinst/disks.c	Wed Nov 30 19:44:06 2022
@@ -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 @@ bootxx_name(struct install_partition_des
 	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

Reply via email to