summaryrefslogtreecommitdiff
path: root/plugins/dwarf/checks.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-04-04 21:57:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-04-04 21:57:54 (GMT)
commit286ba13e0a5e908f9ebe67286bb6006adb4102fc (patch)
tree06d1ef353ae623c579a8fff5a74d22ecc0b9b862 /plugins/dwarf/checks.c
parentc1cac2ce69f01deb99c5c91a803dfa04af90ef14 (diff)
Simplified the plugin interface.
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);
}