Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst PR 57100: check if we can newfs the proper ...
details: https://anonhg.NetBSD.org/src/rev/1d7de47d05a0
branches: trunk
changeset: 372646:1d7de47d05a0
user: martin <martin%NetBSD.org@localhost>
date: Thu Dec 15 20:21:16 2022 +0000
description:
PR 57100: check if we can newfs the proper fstype when adding a new
partition and accepting the default FS type.
diffstat:
usr.sbin/sysinst/label.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4c9fe1cceba9 -r 1d7de47d05a0 usr.sbin/sysinst/label.c
--- a/usr.sbin/sysinst/label.c Thu Dec 15 15:32:04 2022 +0000
+++ b/usr.sbin/sysinst/label.c Thu Dec 15 20:21:16 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: label.c,v 1.45 2022/12/15 15:29:51 martin Exp $ */
+/* $NetBSD: label.c,v 1.46 2022/12/15 20:21:16 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.45 2022/12/15 15:29:51 martin Exp $");
+__RCSID("$NetBSD: label.c,v 1.46 2022/12/15 20:21:16 martin Exp $");
#endif
#include <sys/types.h>
@@ -992,7 +992,7 @@
edit.info.last_mounted = edit.wanted->mount;
if (is_new_part) {
edit.wanted->parts = pset->parts;
- if (!can_newfs_fstype(edit.wanted->fs_type))
+ if (!can_newfs_fstype(edit.info.fs_type))
edit.wanted->instflags &= ~PUIINST_NEWFS;
edit.wanted->cur_part_id = pset->parts->pscheme->
add_partition(pset->parts, &edit.info, &err);
Home |
Main Index |
Thread Index |
Old Index