]> granicus.if.org Git - sysstat/commit
sar/sadc: Dereference nr array pointer in struct activity
authorSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 22 Dec 2020 11:31:33 +0000 (12:31 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 22 Dec 2020 11:31:33 +0000 (12:31 +0100)
commit5314e553e9abfbe9cd18d9a2c58de3e26ff5076e
tree308ad448788535a9c38d60f7b645c535762b7257
parentd903bff67f67fe7ff8a2f441cadf745434d93a4e
sar/sadc: Dereference nr array pointer in struct activity

nr field in struct activity is an array of integers, not an integer
itself. So dereference it to actually access the values.

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