about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-08 13:01:46 +0100
committervan Hauser <vh@thc.org>2021-01-08 13:01:46 +0100
commit813627cbd32be9466e0b5ad3a83ce8209dcfeb51 (patch)
tree8d4114217fadce08200f9a087ce59f0fd30c2b71
parent1827c65596803fae6add7aed269724f4bb041b0c (diff)
downloadafl++-813627cbd32be9466e0b5ad3a83ce8209dcfeb51.tar.gz
better gcc_plugin error msg
-rw-r--r--instrumentation/afl-gcc-pass.so.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/afl-gcc-pass.so.cc b/instrumentation/afl-gcc-pass.so.cc
index 65821c68..41bb5152 100644
--- a/instrumentation/afl-gcc-pass.so.cc
+++ b/instrumentation/afl-gcc-pass.so.cc
@@ -922,9 +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, "
+    FATAL(G_("GCC and plugin have incompatible versions, expected GCC %s, "
              "is %s"),
-          GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR, version->basever);
+          gcc_version.basever, version->basever);
 
   /* Show a banner.  */
   bool quiet = false;