summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-06-09 15:38:05 -0700
committerGuy Harris <guy@alum.mit.edu>2017-06-09 22:39:20 +0000
commit98ffd27f8666164417d869114b7ff7dfac1747c7 (patch)
treecbc50c0e8ffad9cb5677edce9674d3db366b3d47 /tools
parentefb35a2d7eac9ddf13d5ea742a82587fb7942aab (diff)
downloadwireshark-98ffd27f8666164417d869114b7ff7dfac1747c7.tar.gz
Just print the string color_filters_init() provides on an error.
It gives all the necessary details; no need to mention the name of a routine the existence of which the user is probably unaware. Change-Id: I66d372bc6650c84fbbc6be438be695eff1048413 Reviewed-on: https://code.wireshark.org/review/22055 Reviewed-by: Guy Harris <guy@alum.mit.edu> (cherry picked from commit 60da2c96ddddd222994e8d25a3825fb8d7fd7ae5) Reviewed-on: https://code.wireshark.org/review/22057
Diffstat (limited to 'tools')
-rw-r--r--tools/oss-fuzzshark/fuzzshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/oss-fuzzshark/fuzzshark.c b/tools/oss-fuzzshark/fuzzshark.c
index ccab8a06ee..ac2c809e72 100644
--- a/tools/oss-fuzzshark/fuzzshark.c
+++ b/tools/oss-fuzzshark/fuzzshark.c
@@ -217,7 +217,7 @@ fuzz_init(int argc _U_, char **argv)
if (!color_filters_init(&err_msg, NULL))
{
- fprintf(stderr, "color_filters_init() failed %s\n", err_msg);
+ fprintf(stderr, "%s\n", err_msg);
g_free(err_msg);
}