From ff915d21b67b2746573372568c51e5737b356083 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Mon, 2 Oct 2023 11:05:04 -0700 Subject: [PATCH] Update comment. --- kernel/yosys.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/yosys.h b/kernel/yosys.h index 57deb7236..5ee5eb75f 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -275,8 +275,8 @@ int ceil_log2(int x) YS_ATTRIBUTE(const); inline std::string vstringf(const char *fmt, va_list ap) { - // For the common case of strings shorter than 128 (including the trailing - // '\0'), save a heap allocation by using a stack allocated buffer. + // For the common case of strings shorter than 128, save a heap + // allocation by using a stack allocated buffer. const int kBufSize = 128; char buf[kBufSize]; buf[0] = '\0';