From 6477ac5760d54ee861556b29d5f15bc309483be1 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 4 Aug 2019 10:29:41 +0000 Subject: [PATCH] Fix copy&pasto: when we find a FFSv1 filesystem, properly record it that way - so the correct bootblocks get installed on system upgrades. --- usr.sbin/sysinst/label.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/sysinst/label.c b/usr.sbin/sysinst/label.c index 708c4e3976c7..3acffc5d26ba 100644 --- a/usr.sbin/sysinst/label.c +++ b/usr.sbin/sysinst/label.c @@ -1,4 +1,4 @@ -/* $NetBSD: label.c,v 1.11 2019/08/01 16:32:06 martin Exp $ */ +/* $NetBSD: label.c,v 1.12 2019/08/04 10:29:41 martin Exp $ */ /* * Copyright 1997 Jonathan Stone @@ -36,7 +36,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: label.c,v 1.11 2019/08/01 16:32:06 martin Exp $"); +__RCSID("$NetBSD: label.c,v 1.12 2019/08/04 10:29:41 martin Exp $"); #endif #include @@ -1578,7 +1578,7 @@ get_last_mounted(int fd, daddr_t partstart, uint *fs_type, uint *fs_sub_type, if (fs_type) *fs_type = FS_BSDFFS; if (fs_sub_type) - *fs_sub_type = 2; + *fs_sub_type = 1; continue; case FS_UFS2_MAGIC: case FS_UFS2_MAGIC_SWAPPED: