summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/ka.c4
-rw-r--r--mdk-stage1/params.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/mdk-stage1/ka.c b/mdk-stage1/ka.c
index 670abe5af..c5f243828 100644
--- a/mdk-stage1/ka.c
+++ b/mdk-stage1/ka.c
@@ -53,8 +53,8 @@ static enum return_type ka_wait_for_stage2(int count)
int pida, wait_status;
if (!(pida = fork())) { /* Forking current process for running mkfs */
- //close(1);
- close(2);
+ close(1);
+ //close(2);
execv(mkfs_launch[0], mkfs_launch); /* Formating the ramdisk */
printf("KA: Can't execute %s\n<press Enter>\n", mkfs_launch[0]);
my_pause();
diff --git a/mdk-stage1/params.c b/mdk-stage1/params.c
index efce95115..426735d3c 100644
--- a/mdk-stage1/params.c
+++ b/mdk-stage1/params.c
@@ -82,7 +82,7 @@ void process_cmdline(void)
if (!strcmp(name, "updatemodules") ||
!strcmp(name, "thirdparty")) set_param(MODE_THIRDPARTY);
if (!strcmp(name, "rescue") ||
- !strcmp(name, "kamethod")) set_param(MODE_RESCUE);
+ !strcmp(name, "kamethod")) set_param(MODE_RESCUE);
if (!strcmp(name, "keepmounted")) set_param(MODE_KEEP_MOUNTED);
if (!strcmp(name, "noauto")) set_param(MODE_NOAUTO);
if (!strcmp(name, "netauto")) set_param(MODE_NETAUTO);