summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Lan <jlan@sgi.com>2006-11-15 13:22:55 -0800
committerSimon Horman <horms@verge.net.au>2006-11-16 15:21:01 +0900
commit24589ab035ffbb0140b9b05f542ded8bc931de95 (patch)
treea8fe92d01e6bdd3e793449edebfd275e26096ea7
parent785f8f7c4e71803cc1ec73f0660e28e14696d1cf (diff)
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. Signed-off-by: Jay Lan <jlan@sgi.com> * Removed spurious white-space change * Forward-ported to kexec-tools-testing Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/ia64/kexec-elf-ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/ia64/kexec-elf-ia64.c b/kexec/arch/ia64/kexec-elf-ia64.c
index 3c1b1c2..35bdaf4 100644
--- a/kexec/arch/ia64/kexec-elf-ia64.c
+++ b/kexec/arch/ia64/kexec-elf-ia64.c
@@ -130,7 +130,7 @@ int elf_ia64_load(int argc, char **argv, const char *buf, off_t len,
{"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},
{"vmm", 1, 0, OPT_VMM},
{0, 0, 0, 0},
};