summaryrefslogtreecommitdiff
path: root/plugins/dwarf/checks.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dwarf/checks.c')
-rw-r--r--plugins/dwarf/checks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/dwarf/checks.c b/plugins/dwarf/checks.c
index 7dc8a7c..ee16b9a 100644
--- a/plugins/dwarf/checks.c
+++ b/plugins/dwarf/checks.c
@@ -31,6 +31,7 @@
#include <i18n.h>
#include <common/cpp.h>
#include <format/format.h>
+#include <plugins/self.h>
#include "core.h"
@@ -142,7 +143,7 @@ bool check_dwarf_abbrev_decl(GDwarfFormat *format, const dw_abbrev_decl *decl, u
{
vmpa2_phys_to_string(pos, MDS_UNDEFINED, loc, NULL);
- log_dwarf_variadic_message(LMT_BAD_BINARY, _("Invalid abbreviation declaration at %s"), loc);
+ log_plugin_variadic_message(LMT_BAD_BINARY, _("Invalid abbreviation declaration at %s"), loc);
}
@@ -215,7 +216,7 @@ bool check_dwarf_abbrev_attrib(GDwarfFormat *format, const dw_abbrev_raw_attr *a
{
vmpa2_phys_to_string(pos, MDS_UNDEFINED, loc, NULL);
- log_dwarf_variadic_message(LMT_BAD_BINARY, _("Invalid abbreviation attribute at %s"), loc);
+ log_plugin_variadic_message(LMT_BAD_BINARY, _("Invalid abbreviation attribute at %s"), loc);
}