From 1a071115d670a701332ff90c4324991728ccd6f4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 19 Dec 2016 18:55:45 +0100 Subject: kexec-tools: update to 2.0.14-rc1, fix build errors Signed-off-by: Felix Fietkau --- .../kexec-tools/patches/100-format_string_fix.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/boot/kexec-tools/patches/100-format_string_fix.patch (limited to 'package/boot/kexec-tools/patches/100-format_string_fix.patch') diff --git a/package/boot/kexec-tools/patches/100-format_string_fix.patch b/package/boot/kexec-tools/patches/100-format_string_fix.patch new file mode 100644 index 0000000000..601121bcc0 --- /dev/null +++ b/package/boot/kexec-tools/patches/100-format_string_fix.patch @@ -0,0 +1,20 @@ +--- 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; + } -- cgit v1.2.3