From 6d7d870b382fd397efe4412da4ec86454e35fdec Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 2 May 2009 22:42:08 +0200 Subject: [PATCH] installer: Fix typo that prevented the creation of MFS backed partitions. A bit late, but it was hard to spot. :) Reported-by: Alec Berryman Dragonfly-bug: --- contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart.c | 2 +- .../src/backend/installer/fn_subpart_hammer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart.c b/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart.c index bb602e1f9a..5baf5bdec8 100644 --- a/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart.c +++ b/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart.c @@ -512,7 +512,7 @@ save_subpartition_selections(struct dfui_response *r, struct i_fn_args *a) (strcmp(dfui_dataset_get_value(ds, "softupdates"), "Y") == 0); fsize = atol(dfui_dataset_get_value(ds, "fsize")); bsize = atol(dfui_dataset_get_value(ds, "bsize")); - mfsbacked = (strcmp(dfui_dataset_get_value(ds, "msfbacked"), "Y") == 0); + mfsbacked = (strcmp(dfui_dataset_get_value(ds, "mfsbacked"), "Y") == 0); } else { softupdates = (strcmp(mountpoint, "/") == 0 ? 0 : 1); mfsbacked = 0; diff --git a/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart_hammer.c b/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart_hammer.c index 0e0ddf0015..c5a6962fbd 100644 --- a/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart_hammer.c +++ b/contrib/bsdinstaller-1.1.6/src/backend/installer/fn_subpart_hammer.c @@ -452,7 +452,7 @@ save_subpartition_selections(struct dfui_response *r, struct i_fn_args *a) (strcmp(dfui_dataset_get_value(ds, "softupdates"), "Y") == 0); fsize = atol(dfui_dataset_get_value(ds, "fsize")); bsize = atol(dfui_dataset_get_value(ds, "bsize")); - mfsbacked = (strcmp(dfui_dataset_get_value(ds, "msfbacked"), "Y") == 0); + mfsbacked = (strcmp(dfui_dataset_get_value(ds, "mfsbacked"), "Y") == 0); } else { softupdates = (strcmp(mountpoint, "/") == 0 ? 0 : 1); mfsbacked = 0; -- 2.41.0