]> granicus.if.org Git - sysstat/commit
sadc: Fix bad number of CPU displayed in a LINUX RESTART message
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 26 Apr 2019 08:20:43 +0000 (10:20 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 26 Apr 2019 08:20:43 +0000 (10:20 +0200)
commit4e45e0909b574881342c87fb252c7cd5954e76c2
tree27cfa6fdc2db8465c784b4ee922b700639f0fbef
parent9d542dca629e561b6235ff4fd4943881472246ad
sadc: Fix bad number of CPU displayed in a LINUX RESTART message

sadc didn't take into account properly a different number of CPU
When appending data to an existing file. This was because the number of
CPU recorded with the restart message was overwritten with that
originally saved in the file.
This patch fixes the problem.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sadc.c