diff options
author | van Hauser <vh@thc.org> | 2021-01-08 12:55:05 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2021-01-08 12:55:05 +0100 |
commit | 1827c65596803fae6add7aed269724f4bb041b0c (patch) | |
tree | 60116a3409ac199572a5476f675d5f3a375f57b0 /instrumentation/afl-gcc-pass.so.cc | |
parent | 3d1a25ce4e8862b82662c64fbea000692f300c62 (diff) | |
download | afl++-1827c65596803fae6add7aed269724f4bb041b0c.tar.gz |
better gcc_plugin error msg
Diffstat (limited to 'instrumentation/afl-gcc-pass.so.cc')
-rw-r--r-- | instrumentation/afl-gcc-pass.so.cc | 5 |
1 files changed, 3 insertions, 2 deletions
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; |