From 0d49c6d5c1314a7aadaa90680893ee598f0b34ad Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Fri, 16 Sep 2011 09:38:01 +0000 Subject: [PATCH] Fix a typo introduced in r219892 that prevented file system options from being set correctly. Approved by: re (kib) --- usr.sbin/bsdinstall/partedit/gpart_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/partedit/gpart_ops.c b/usr.sbin/bsdinstall/partedit/gpart_ops.c index b55caf4136e1..f0736f8fa239 100644 --- a/usr.sbin/bsdinstall/partedit/gpart_ops.c +++ b/usr.sbin/bsdinstall/partedit/gpart_ops.c @@ -862,7 +862,7 @@ gpart_create(struct gprovider *pp, char *default_type, char *default_size, * If the user changed the fs type after specifying options, undo * their choices in favor of the new filesystem's defaults. */ - if (strcmp(options_fstype, items[0].name) != 0) { + if (strcmp(options_fstype, items[0].text) != 0) { strncpy(options_fstype, items[0].text, sizeof(options_fstype)); newfs_command(options_fstype, newfs, 1); }