mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

Blame SOURCES/satyr-0.13-elfutils-0.158.patch

046a1c
diff --git a/lib/core_unwind.c b/lib/core_unwind.c
046a1c
index d0c7aec..7910254 100644
046a1c
--- a/lib/core_unwind.c
046a1c
+++ b/lib/core_unwind.c
046a1c
@@ -206,7 +206,7 @@ open_coredump(const char *elf_file, const char *exe_file, char **error_msg)
046a1c
     ch->cb.section_address = dwfl_offline_section_address;
046a1c
     ch->dwfl = dwfl_begin(&ch->cb);
046a1c
 
046a1c
-    if (dwfl_core_file_report(ch->dwfl, ch->eh) == -1)
046a1c
+    if (dwfl_core_file_report(ch->dwfl, ch->eh, exe_file) == -1)
046a1c
     {
046a1c
         set_error_dwfl("dwfl_core_file_report");
046a1c
         goto fail_dwfl;