Module Name:    src
Committed By:   tsutsui
Date:           Sat Jun 11 16:25:24 UTC 2022

Modified Files:
        src/usr.sbin/sysinst/arch/cobalt: md.c

Log Message:
Use proper part_type for the boot partition (while it looks unused).


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/arch/cobalt/md.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/arch/cobalt/md.c
diff -u src/usr.sbin/sysinst/arch/cobalt/md.c:1.15 src/usr.sbin/sysinst/arch/cobalt/md.c:1.16
--- src/usr.sbin/sysinst/arch/cobalt/md.c:1.15	Sat Jan 29 16:01:17 2022
+++ src/usr.sbin/sysinst/arch/cobalt/md.c	Sat Jun 11 16:25:23 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: md.c,v 1.15 2022/01/29 16:01:17 martin Exp $ */
+/*	$NetBSD: md.c,v 1.16 2022/06/11 16:25:23 tsutsui Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -296,7 +296,7 @@ md_parts_use_wholedisk(struct disk_parti
 	};
 
 	boot_part.nat_type = parts->pscheme->get_fs_part_type(
-	    PT_root, boot_part.fs_type, boot_part.fs_sub_type);
+	    PT_EXT2, boot_part.fs_type, boot_part.fs_sub_type);
 
 	return parts_use_wholedisk(parts, 1, &boot_part);
 }

Reply via email to