Module Name:    src
Committed By:   martin
Date:           Sun Aug  4 10:29:42 UTC 2019

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

Log Message:
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.11 -r1.12 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.11 src/usr.sbin/sysinst/label.c:1.12
--- src/usr.sbin/sysinst/label.c:1.11	Thu Aug  1 16:32:06 2019
+++ src/usr.sbin/sysinst/label.c	Sun Aug  4 10:29:41 2019
@@ -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 <sys/cdefs.h>
 #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 <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:

Reply via email to