]> git.proxmox.com Git - pve-common.git/commit
read_proc_stat : initialize newer fields to 0
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 10 Jan 2022 04:52:57 +0000 (05:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jan 2022 15:03:15 +0000 (16:03 +0100)
commit5224b31bbd417fbcfcb6d0bf6ff93be8c120dc22
treee460d7d34582462e7f108c67d05c16c7abaa6a66
parent964684b5e2adaefe8effeb342829a4d5ebecf1f5
read_proc_stat : initialize newer fields to 0

new fields has been added recently, but values are not initialized
https://git.proxmox.com/?p=pve-common.git;a=commit;h=5a82eb712e4c879a271686f07c589fadc0b09185

as total of all fields is compute later, this can give undef values
src/PVE/ProcFSTools.pm