Skip to contentSkip to conversation

kexec-tools: bug fix to --noio option

PATCH New Jay Lan 1 participant 1 message Nov 15, 2006

lore
Share & tools
lore

Jay Lan

author
#0 lore raw

PATCH 1/1 kexec-tools: bug fix to --noio option

This patch is to fix a "--noio option" patch posted on 9/20/2006 by Nanhai that disables I/O in purgatory code.

The "--noio" option should specify zero argument to avoid eating out the next option.

kexec/arch/ia64/kexec-elf-ia64.c +1 -1
Index: kexec-tools-1.101/kexec/arch/ia64/kexec-elf-ia64.c
===================================================================
@@ -128,7 +128,7 @@ int elf_ia64_load(int argc, char **argv,
 		{"command-line", 1, 0, OPT_APPEND},
 		{"append",       1, 0, OPT_APPEND},
 		{"initrd",       1, 0, OPT_RAMDISK},
-		{"noio",       1, 0, OPT_NOIO},
+		{"noio",         0, 0, OPT_NOIO},
 		{0, 0, 0, 0},
 	};