xo-indentlog: bugfix: + array size to satisfy compiler warning

This commit is contained in:
Roland Conybeare 2024-04-28 14:47:01 -04:00
commit 74eda2bc75

View file

@ -259,7 +259,7 @@ namespace xo {
auto [t0_tm, t0_usec] = utc_split_tm(t0);
/* no std::format in clang11 afaict */
char usec_buf[7];
char usec_buf[8];
snprintf(usec_buf, sizeof(usec_buf), "%06d", t0_usec);