From: Sebastien GODARD Date: Sun, 6 Feb 2022 17:01:12 +0000 (+0100) Subject: Fix commit 3ab10c8 X-Git-Tag: v12.5.6~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de798c23d99320d8a7587ba828fda74eeca33f68;p=sysstat Fix commit 3ab10c8 I shouldn't have deleted this line :-( Signed-off-by: Sebastien GODARD --- diff --git a/sa_common.c b/sa_common.c index 2046d17..1b06d40 100644 --- a/sa_common.c +++ b/sa_common.c @@ -2995,6 +2995,7 @@ int print_special_record(struct record_header *record_hdr, uint64_t l_flags, */ for (p = 0; p < NR_ACT; p++) { if (HAS_PERSISTENT_VALUES(act[p]->options) && (act[p]->nr_ini > 0)) { + act[p]->nr_ini = file_hdr->sa_cpu_nr; if (act[p]->nr_ini > act[p]->nr_allocated) { reallocate_all_buffers(act[p], act[p]->nr_ini); }