Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst/arch/cobalt Use proper part_type for the bo...



details:   https://anonhg.NetBSD.org/src/rev/5997a6f829d1
branches:  trunk
changeset: 366737:5997a6f829d1
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jun 11 16:25:23 2022 +0000

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

diffstat:

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

diffs (18 lines):

diff -r 2f4b93556d82 -r 5997a6f829d1 usr.sbin/sysinst/arch/cobalt/md.c
--- a/usr.sbin/sysinst/arch/cobalt/md.c Sat Jun 11 15:41:19 2022 +0000
+++ b/usr.sbin/sysinst/arch/cobalt/md.c Sat Jun 11 16:25:23 2022 +0000
@@ -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 @@
        };
 
        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);
 }



Home | Main Index | Thread Index | Old Index