summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/kexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c
index 1550d68..b831775 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -869,9 +869,9 @@ char *get_command_line(void)
/* strip newline */
*(line + strlen(line) - 1) = 0;
- remove_parameter(line, "crashkernel");
+ remove_parameter(line, "BOOT_IMAGE");
if (kexec_flags & KEXEC_ON_CRASH)
- remove_parameter(line, "BOOT_IMAGE");
+ remove_parameter(line, "crashkernel");
} else
line = strdup("");