Module Name:    src
Committed By:   martin
Date:           Sat Dec 10 16:52:02 UTC 2022

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

Log Message:
Always map FS_BSDFFS to one of "FFS", "FFSv2" or "FFSv2ea" - previously
the disklabel name "4.2BSD" could show up initially but we could never
go back to it via the menu used to change the file system type.
This was confusing.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 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.92 src/usr.sbin/sysinst/disks.c:1.93
--- src/usr.sbin/sysinst/disks.c:1.92	Wed Nov 30 19:44:06 2022
+++ src/usr.sbin/sysinst/disks.c	Sat Dec 10 16:52:02 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: disks.c,v 1.92 2022/11/30 19:44:06 martin Exp $ */
+/*	$NetBSD: disks.c,v 1.93 2022/12/10 16:52:02 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -114,7 +114,7 @@ getfslabelname(uint f, uint f_version)
 		return "mfs";
 	else if (f == FS_EFI_SP)
 		return msg_string(MSG_fs_type_efi_sp);
-	else if (f == FS_BSDFFS && f_version > 0) {
+	else if (f == FS_BSDFFS) {
 		switch (f_version) {
 		default:
 		case 1:	return msg_string(MSG_fs_type_ffs);

Reply via email to