From: Ahmad Khalifa Date: Sat, 06 Sep 2025 13:50:12 +0000 Forwarded: not-needed Subject: fix gcc warning strin no null terminator --- a/src/commonlib/include/commonlib/loglevel.h +++ b/src/commonlib/include/commonlib/loglevel.h @@ -165,7 +165,7 @@ */ #define BIOS_LOG_PREFIX_PATTERN "[%.5s] " #define BIOS_LOG_PREFIX_MAX_LEVEL BIOS_SPEW -static const char __nonstring bios_log_prefix[BIOS_LOG_PREFIX_MAX_LEVEL + 1][5] = { +static const char __nonstring bios_log_prefix[BIOS_LOG_PREFIX_MAX_LEVEL + 1][6] = { /* Note: These strings are *not* null-terminated to save space. */ [BIOS_EMERG] = "EMERG", [BIOS_ALERT] = "ALERT",