Fix the stack limit flag name in the error message. PiperOrigin-RevId: 588876334
diff --git a/e2e_tests/functional_test.cc b/e2e_tests/functional_test.cc index 2a430bf..c4cb79d 100644 --- a/e2e_tests/functional_test.cc +++ b/e2e_tests/functional_test.cc
@@ -1552,7 +1552,7 @@ std_err, ContainsRegex("Code under test used [0-9]* bytes of stack. Configured " "limit is 131072. You can change the limit by specifying " - "--" FUZZTEST_FLAG_PREFIX_ "stack_limit flag.")); + "--" FUZZTEST_FLAG_PREFIX_ "stack_limit_kb flag.")); ExpectTargetAbort(status, std_err); }
diff --git a/fuzztest/internal/coverage.cc b/fuzztest/internal/coverage.cc index 29e7d67..59fcfe8 100644 --- a/fuzztest/internal/coverage.cc +++ b/fuzztest/internal/coverage.cc
@@ -165,7 +165,7 @@ absl::FPrintF(GetStderr(), "[!] Code under test used %d bytes of stack. Configured " "limit is %d. You can change the limit by specifying " - "--" FUZZTEST_FLAG_PREFIX "stack_limit flag.\n", + "--" FUZZTEST_FLAG_PREFIX "stack_limit_kb flag.\n", this_stack, StackLimit()); std::abort(); }