aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2017-12-08 18:52:34 +0100
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2017-12-08 19:39:37 +0000
commit157ea91f2eb583a1f5815b4fb076ce78498617b8 (patch)
tree3b16a7eb9992f553e6a2b12f8d3798187a989136
parent2cee4f432feddc5deb48154a97fcb63823b4e6b4 (diff)
oss-fuzzshark: fix compilation.
/src/wireshark/tools/oss-fuzzshark/fuzzshark.c:268:58: error: too few arguments to function call, expected 2, have 1 fuzz_handle = get_dissector_handle(FUZZ_DISSECTOR_TARGET); ~~~~~~~~~~~~~~~~~~~~ ^ /src/wireshark/tools/oss-fuzzshark/fuzzshark.c:133:1: note: 'get_dissector_handle' declared here Change-Id: I6c6e25017f0045b833d9249c9648145893fe0439 Reviewed-on: https://code.wireshark.org/review/24742 Petri-Dish: Jakub Zawadzki <darkjames-ws@darkjames.pl> Reviewed-by: Jakub Zawadzki <darkjames-ws@darkjames.pl>
-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 9c623ef..b4b93da 100644
--- a/tools/oss-fuzzshark/fuzzshark.c
+++ b/tools/oss-fuzzshark/fuzzshark.c
@@ -265,7 +265,7 @@ fuzz_init(int argc _U_, char **argv)
#elif defined(FUZZ_DISSECTOR_TARGET)
# define FUZZ_EPAN 2
fprintf(stderr, "oss-fuzzshark: configured for dissector: %s\n", FUZZ_DISSECTOR_TARGET);
- fuzz_handle = get_dissector_handle(FUZZ_DISSECTOR_TARGET);
+ fuzz_handle = get_dissector_handle(NULL, FUZZ_DISSECTOR_TARGET);
#else
# define FUZZ_EPAN 3