diff options
-rw-r--r-- | kexec/arch/i386/kexec-elf-x86.c | 2 | ||||
-rw-r--r-- | kexec/arch/x86_64/kexec-elf-x86_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/i386/kexec-elf-x86.c b/kexec/arch/i386/kexec-elf-x86.c index 6308f4e..73b1576 100644 --- a/kexec/arch/i386/kexec-elf-x86.c +++ b/kexec/arch/i386/kexec-elf-x86.c @@ -149,7 +149,7 @@ int elf_x86_load(int argc, char **argv, const char *buf, off_t len, arg_style = ARG_STYLE_LINUX; break; case OPT_ARGS_NONE: -#ifdef __i386___ +#ifdef __i386__ arg_style = ARG_STYLE_NONE; #else die("--args-none only works on arch i386\n"); diff --git a/kexec/arch/x86_64/kexec-elf-x86_64.c b/kexec/arch/x86_64/kexec-elf-x86_64.c index e7272af..eff1fc9 100644 --- a/kexec/arch/x86_64/kexec-elf-x86_64.c +++ b/kexec/arch/x86_64/kexec-elf-x86_64.c @@ -149,7 +149,7 @@ int elf_x86_64_load(int argc, char **argv, const char *buf, off_t len, arg_style = ARG_STYLE_LINUX; break; case OPT_ARGS_NONE: -#ifdef __x86_64___ +#ifdef __x86_64__ arg_style = ARG_STYLE_NONE; #else die("--args-none only works on arch x86_64\n"); |