Module Name: src
Committed By: msaitoh
Date: Mon Aug 5 04:38:47 UTC 2019
Modified Files:
src/usr.sbin/sysinst [netbsd-9]: label.c
Log Message:
Pull up following revision(s) (requested by martin in ticket #16):
usr.sbin/sysinst/label.c: revision 1.12
Fix copy&pasto: when we find a FFSv1 filesystem, properly record it
that way - so the correct bootblocks get installed on system upgrades.
To generate a diff of this commit:
cvs rdiff -u -r1.10.2.1 -r1.10.2.2 src/usr.sbin/sysinst/label.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/label.c
diff -u src/usr.sbin/sysinst/label.c:1.10.2.1 src/usr.sbin/sysinst/label.c:1.10.2.2
--- src/usr.sbin/sysinst/label.c:1.10.2.1 Fri Aug 2 05:41:46 2019
+++ src/usr.sbin/sysinst/label.c Mon Aug 5 04:38:47 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: label.c,v 1.10.2.1 2019/08/02 05:41:46 msaitoh Exp $ */
+/* $NetBSD: label.c,v 1.10.2.2 2019/08/05 04:38:47 msaitoh Exp $ */
/*
* Copyright 1997 Jonathan Stone
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: label.c,v 1.10.2.1 2019/08/02 05:41:46 msaitoh Exp $");
+__RCSID("$NetBSD: label.c,v 1.10.2.2 2019/08/05 04:38:47 msaitoh Exp $");
#endif
#include <sys/types.h>
@@ -1578,7 +1578,7 @@ get_last_mounted(int fd, daddr_t partsta
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: