mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

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

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