Module Name:    src
Committed By:   martin
Date:           Sun May  9 10:37:49 UTC 2021

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

Log Message:
For FS_MSDOS report the MBR type as fs_sub_type.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/sysinst/mbr.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/mbr.c
diff -u src/usr.sbin/sysinst/mbr.c:1.38 src/usr.sbin/sysinst/mbr.c:1.39
--- src/usr.sbin/sysinst/mbr.c:1.38	Sun Jan 31 22:45:46 2021
+++ src/usr.sbin/sysinst/mbr.c	Sun May  9 10:37:49 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: mbr.c,v 1.38 2021/01/31 22:45:46 rillig Exp $ */
+/*	$NetBSD: mbr.c,v 1.39 2021/05/09 10:37:49 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1400,6 +1400,7 @@ mbr_do_get_part_info(const struct disk_p
 		case MBR_PTYPE_SPEEDSTOR_16S:
 		case MBR_PTYPE_EFI:
 			info->fs_type = FS_MSDOS;
+			info->fs_sub_type = mp->mbrp_type;
 			break;
 		case MBR_PTYPE_LNXEXT2:
 			info->fs_type = FS_EX2FS;

Reply via email to