summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-09-16 09:38:01 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-09-16 09:38:01 +0000
commit905a37bff10b8403f87057221bb40a3dbb21c865 (patch)
treec74536a40942e34739fded2dc40e3ca2fa536aa0 /usr.sbin
parent947dc3a65be514e48305bb74bfaee14114b07af3 (diff)
downloadFreeBSD-src-905a37bff10b8403f87057221bb40a3dbb21c865.zip
FreeBSD-src-905a37bff10b8403f87057221bb40a3dbb21c865.tar.gz
Fix a typo introduced in r219892 that prevented file system options from
being set correctly. Approved by: re (kib)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bsdinstall/partedit/gpart_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/partedit/gpart_ops.c b/usr.sbin/bsdinstall/partedit/gpart_ops.c
index b55caf4..f0736f8 100644
--- a/usr.sbin/bsdinstall/partedit/gpart_ops.c
+++ b/usr.sbin/bsdinstall/partedit/gpart_ops.c
@@ -862,7 +862,7 @@ addpartform:
* 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);
}
OpenPOWER on IntegriCloud