Author: brucec
Date: Thu Jul 22 17:35:36 2010
New Revision: 210381
URL: http://svn.freebsd.org/changeset/base/210381

Log:
  If a size suffix isn't entered, just use the value entered. This fixes
  a bug caused by r209235 where entering a number of blocks after
  previously entering a size in MB/GB would result in the size of the
  previous partition being used.
  
  PR:   bin/148266
  Submitted by: jpaetzel
  Approved by:  rrs (mentor)

Modified:
  head/usr.sbin/sysinstall/label.c

Modified: head/usr.sbin/sysinstall/label.c
==============================================================================
--- head/usr.sbin/sysinstall/label.c    Thu Jul 22 17:23:43 2010        
(r210380)
+++ head/usr.sbin/sysinstall/label.c    Thu Jul 22 17:35:36 2010        
(r210381)
@@ -1036,7 +1036,10 @@ diskLabel(Device *dev)
 #endif
                    else
                        size = (daddr_t) dsize;
+               } else {
+                       size = (daddr_t) dsize;
                }
+
                if (size < FS_MIN_SIZE) {
                    msgConfirm("The minimum filesystem size is %dMB", 
FS_MIN_SIZE / ONE_MEG);
                    clear_wins();
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to