mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
1a071115d6
Signed-off-by: Felix Fietkau <nbd@nbd.name>
21 lines
470 B
Diff
21 lines
470 B
Diff
--- a/kexec/arch/i386/kexec-elf-x86.c
|
|
+++ b/kexec/arch/i386/kexec-elf-x86.c
|
|
@@ -296,6 +296,6 @@ out:
|
|
free(command_line);
|
|
free(modified_cmdline);
|
|
if (error_msg)
|
|
- die(error_msg);
|
|
+ die("%s", error_msg);
|
|
return result;
|
|
}
|
|
--- a/kexec/arch/x86_64/kexec-elf-x86_64.c
|
|
+++ b/kexec/arch/x86_64/kexec-elf-x86_64.c
|
|
@@ -276,6 +276,6 @@ out:
|
|
free(command_line);
|
|
free(modified_cmdline);
|
|
if (error_msg)
|
|
- die(error_msg);
|
|
+ die("%s", error_msg);
|
|
return result;
|
|
}
|