Module Name: src Committed By: martin Date: Thu Dec 15 15:29:51 UTC 2022
Modified Files: src/usr.sbin/sysinst: label.c Log Message: PR 57100: when adding a new partition, update current flags after the backend has added the partion, so the re-sorting later can match the new data properly. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 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.44 src/usr.sbin/sysinst/label.c:1.45 --- src/usr.sbin/sysinst/label.c:1.44 Sat Dec 10 16:13:19 2022 +++ src/usr.sbin/sysinst/label.c Thu Dec 15 15:29:51 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: label.c,v 1.44 2022/12/10 16:13:19 martin Exp $ */ +/* $NetBSD: label.c,v 1.45 2022/12/15 15:29:51 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.44 2022/12/10 16:13:19 martin Exp $"); +__RCSID("$NetBSD: label.c,v 1.45 2022/12/15 15:29:51 martin Exp $"); #endif #include <sys/types.h> @@ -1008,6 +1008,7 @@ edit_ptn(menudesc *menu, void *arg) edit.info.nat_type->generic_ptype; edit.wanted->fs_type = edit.info.fs_type; edit.wanted->fs_version = edit.info.fs_sub_type; + edit.wanted->cur_flags = edit.info.flags; /* things have changed, re-sort */ renumber_partitions(pset); }