summaryrefslogtreecommitdiff
path: root/kexec/arch/ia64/kexec-elf-ia64.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ia64/kexec-elf-ia64.c')
-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 b5eab6c..8f8d239 100644
--- a/kexec/arch/ia64/kexec-elf-ia64.c
+++ b/kexec/arch/ia64/kexec-elf-ia64.c
@@ -195,7 +195,7 @@ int elf_ia64_load(int argc, char **argv, const char *buf, off_t len,
if (info->kexec_flags & KEXEC_ON_CRASH ) {
if ((mem_min == 0x00) && (mem_max == ULONG_MAX)) {
fprintf(stderr, "Failed to find crash kernel region "
- "in %s\n", proc_iomem(1));
+ "in %s\n", proc_iomem());
free_elf_info(&ehdr);
return -1;
}