Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Fix copy&pasto: when we find a FFSv1 filesy...



details:   https://anonhg.NetBSD.org/src/rev/05081f00c6c5
branches:  trunk
changeset: 964488:05081f00c6c5
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 04 10:29:41 2019 +0000

description:
Fix copy&pasto: when we find a FFSv1 filesystem, properly record it
that way - so the correct bootblocks get installed on system upgrades.

diffstat:

 usr.sbin/sysinst/label.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3f33b74dda87 -r 05081f00c6c5 usr.sbin/sysinst/label.c
--- a/usr.sbin/sysinst/label.c  Sun Aug 04 09:10:48 2019 +0000
+++ b/usr.sbin/sysinst/label.c  Sun Aug 04 10:29:41 2019 +0000
@@ -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 @@
                        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:



Home | Main Index | Thread Index | Old Index