summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hfuzz_cc/hfuzz-cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hfuzz_cc/hfuzz-cc.c b/hfuzz_cc/hfuzz-cc.c
index 83c093e0..288d0406 100644
--- a/hfuzz_cc/hfuzz-cc.c
+++ b/hfuzz_cc/hfuzz-cc.c
@@ -103,7 +103,7 @@ static bool isLDMode(int argc, char** argv) {
static bool isFSanitizeFuzzer(int argc, char** argv) {
for (int i = 1; i < argc; i++) {
- if (util_strStartsWith(argv[i], "-fsanitize=") && strstr(argv[1], "fuzzer")) {
+ if (util_strStartsWith(argv[i], "-fsanitize=") && strstr(argv[i], "fuzzer")) {
return true;
}
}