From 7694a7bf41f0ad368e73bd320c0748a6150709c5 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 10 Mar 2024 11:20:25 -0400 Subject: [PATCH] Fix suggestion of ulimit -s (#4956) --- include/verilated.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/verilated.cpp b/include/verilated.cpp index 87a26c767..4c4836312 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -3031,7 +3031,7 @@ void Verilated::stackCheck(QData needSize) VL_MT_UNSAFE { // if the user follows the suggestions if (VL_UNLIKELY(haveSize && needSize && haveSize < (needSize + needSize / 2))) { VL_PRINTF_MT("%%Warning: System has stack size %" PRIu64 " kb" - " which may be too small; suggest 'ulimit -c %" PRIu64 "' or larger\n", + " which may be too small; suggest 'ulimit -s %" PRIu64 "' or larger\n", haveSize / 1024, (needSize * 2) / 1024); } #else