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)
This commit is contained in:
parent
e8106ea76c
commit
f838f21321
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user