svn commit: r225613 - head/usr.sbin/bsdinstall/partedit

Nathan Whitehorn nwhitehorn at FreeBSD.org
Fri Sep 16 09:38:01 UTC 2011


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);
 	}


More information about the svn-src-head mailing list