Fix a typo introduced in r219892 that prevented file system options from
being set correctly. Approved by: re (kib)
This commit is contained in:
parent
3d50f9421e
commit
0d49c6d5c1
@ -862,7 +862,7 @@ gpart_create(struct gprovider *pp, char *default_type, char *default_size,
|
||||
* 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user