mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

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

f41043
From 8e872be02ea4f231347aa47f38b4418175c0e43d Mon Sep 17 00:00:00 2001
f41043
From: Martin Milata <mmilata@redhat.com>
f41043
Date: Wed, 8 Jan 2014 17:27:47 +0100
f41043
Subject: [PATCH] unwind: fix build against elfutils-0.158
f41043
f41043
Signed-off-by: Martin Milata <mmilata@redhat.com>
f41043
---
f41043
 lib/core_unwind.c | 2 +-
f41043
 1 file changed, 1 insertion(+), 1 deletion(-)
f41043
f41043
diff --git a/lib/core_unwind.c b/lib/core_unwind.c
f41043
index d0c7aec..7910254 100644
f41043
--- a/lib/core_unwind.c
f41043
+++ b/lib/core_unwind.c
f41043
@@ -206,7 +206,7 @@ open_coredump(const char *elf_file, const char *exe_file, char **error_msg)
f41043
     ch->cb.section_address = dwfl_offline_section_address;
f41043
     ch->dwfl = dwfl_begin(&ch->cb);
f41043
 
f41043
-    if (dwfl_core_file_report(ch->dwfl, ch->eh) == -1)
f41043
+    if (dwfl_core_file_report(ch->dwfl, ch->eh, exe_file) == -1)
f41043
     {
f41043
         set_error_dwfl("dwfl_core_file_report");
f41043
         goto fail_dwfl;
f41043
-- 
f41043
1.8.3.1
f41043