From 1827c65596803fae6add7aed269724f4bb041b0c Mon Sep 17 00:00:00 2001 From: van Hauser Date: Fri, 8 Jan 2021 12:55:05 +0100 Subject: better gcc_plugin error msg --- instrumentation/afl-gcc-pass.so.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'instrumentation/afl-gcc-pass.so.cc') diff --git a/instrumentation/afl-gcc-pass.so.cc b/instrumentation/afl-gcc-pass.so.cc index 47e1c1bf..65821c68 100644 --- a/instrumentation/afl-gcc-pass.so.cc +++ b/instrumentation/afl-gcc-pass.so.cc @@ -922,8 +922,9 @@ int plugin_init(struct plugin_name_args * info, struct plugin_gcc_version *version) { if (!plugin_default_version_check(version, &gcc_version)) - FATAL(G_("GCC and plugin have incompatible versions, expected GCC %d.%d"), - GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR); + FATAL(G_("GCC and plugin have incompatible versions, expected GCC %d.%d, " + "is %s"), + GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR, version->basever); /* Show a banner. */ bool quiet = false; -- cgit 1.4.1