Add forgotten patch

This commit is contained in:
Martin Milata 2014-06-10 17:36:46 +02:00
parent e11bd795af
commit 650a40cfb3

13
satyr-0.14-wformat.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/lib/core_unwind_elfutils.c b/lib/core_unwind_elfutils.c
index b4d3aed..6b904c7 100644
--- a/lib/core_unwind_elfutils.c
+++ b/lib/core_unwind_elfutils.c
@@ -166,7 +166,7 @@ sr_parse_coredump(const char *core_file,
set_error_dwfl("dwfl_getthreads");
else if (ret == DWARF_CB_ABORT)
{
- set_error(thread_arg.error_msg);
+ set_error("%s", thread_arg.error_msg);
free(thread_arg.error_msg);
}
else