summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/arch/x86_64/kexec-elf-rel-x86_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/x86_64/kexec-elf-rel-x86_64.c b/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
index 16b32a2..b484323 100644
--- a/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
+++ b/kexec/arch/x86_64/kexec-elf-rel-x86_64.c
@@ -47,7 +47,7 @@ static const char *reloc_name(unsigned long r_type)
};
static char buf[100];
const char *name;
- if (r_type < (sizeof(reloc_name)/sizeof(r_name[0]))){
+ if (r_type < (sizeof(r_name)/sizeof(r_name[0]))){
name = r_name[r_type];
}
else {