Module Name: src
Committed By: martin
Date: Thu Aug 1 17:49:12 UTC 2019
Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c
Log Message:
PR 54423: complete initialization of install info for user defined partitions
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/bsddisklabel.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/bsddisklabel.c
diff -u src/usr.sbin/sysinst/bsddisklabel.c:1.24 src/usr.sbin/sysinst/bsddisklabel.c:1.25
--- src/usr.sbin/sysinst/bsddisklabel.c:1.24 Thu Aug 1 16:48:06 2019
+++ src/usr.sbin/sysinst/bsddisklabel.c Thu Aug 1 17:49:12 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: bsddisklabel.c,v 1.24 2019/08/01 16:48:06 martin Exp $ */
+/* $NetBSD: bsddisklabel.c,v 1.25 2019/08/01 17:49:12 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -401,8 +401,11 @@ add_other_ptn_size(menudesc *menu, void
p += pset->num;
memset(m, 0, sizeof(*m));
memset(p, 0, sizeof(*p));
+ p->parts = pset->parts;
p->cur_part_id = NO_PART;
p->type = PT_root;
+ p->fs_type = FS_BSDFFS;
+ p->fs_version = 2;
strncpy(p->mount, new_mp, sizeof(p->mount));
menu->cursel = pset->num;