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);
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to