From a827113c2afcb6935008d591edff54f85f58c7ef Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Fri, 24 Mar 2023 19:26:43 +0100 Subject: [PATCH] Increasing breakdown row padding to match CPU --- src/emu/nanos6/breakdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/nanos6/breakdown.c b/src/emu/nanos6/breakdown.c index 9dfac00..dc6b4e7 100644 --- a/src/emu/nanos6/breakdown.c +++ b/src/emu/nanos6/breakdown.c @@ -278,7 +278,7 @@ model_nanos6_breakdown_finish(struct emu *emu, struct prf *prf = pvt_get_prf(bemu->pvt); for (int64_t row = 0; row < bemu->nphycpus; row++) { char name[128]; - if (snprintf(name, 128, "~CPU %3ld", bemu->nphycpus - row) >= 128) { + if (snprintf(name, 128, "~CPU %4ld", bemu->nphycpus - row) >= 128) { err("label too long"); return -1; }