Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2011 09:38:01 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225613 - head/usr.sbin/bsdinstall/partedit
Message-ID:  <201109160938.p8G9c1eu013547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Fri Sep 16 09:38:01 2011
New Revision: 225613
URL: http://svn.freebsd.org/changeset/base/225613

Log:
  Fix a typo introduced in r219892 that prevented file system options from
  being set correctly.
  
  Approved by:	re (kib)

Modified:
  head/usr.sbin/bsdinstall/partedit/gpart_ops.c

Modified: head/usr.sbin/bsdinstall/partedit/gpart_ops.c
==============================================================================
--- head/usr.sbin/bsdinstall/partedit/gpart_ops.c	Fri Sep 16 09:37:13 2011	(r225612)
+++ head/usr.sbin/bsdinstall/partedit/gpart_ops.c	Fri Sep 16 09:38:01 2011	(r225613)
@@ -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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109160938.p8G9c1eu013547>