summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin/sys_devices_system_edac_mc.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-08 16:27:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-08 16:27:08 +0000
commit81581f9719bc56f01d5aa08952671d65fda9867a (patch)
tree0f5c6b6138bf169c23c9d24b1fc0a3521385cb18 /collectors/proc.plugin/sys_devices_system_edac_mc.c
parentReleasing debian version 1.38.1-1. (diff)
downloadnetdata-81581f9719bc56f01d5aa08952671d65fda9867a.tar.xz
netdata-81581f9719bc56f01d5aa08952671d65fda9867a.zip
Merging upstream version 1.39.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--collectors/proc.plugin/sys_devices_system_edac_mc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/proc.plugin/sys_devices_system_edac_mc.c b/collectors/proc.plugin/sys_devices_system_edac_mc.c
index fe8250963..fdb6b51e9 100644
--- a/collectors/proc.plugin/sys_devices_system_edac_mc.c
+++ b/collectors/proc.plugin/sys_devices_system_edac_mc.c
@@ -97,7 +97,7 @@ int do_proc_sys_devices_system_edac_mc(int update_every, usec_t dt) {
if(unlikely(!m->ce_ff || procfile_lines(m->ce_ff) < 1 || procfile_linewords(m->ce_ff, 0) < 1))
continue;
- m->ce_count = str2ull(procfile_lineword(m->ce_ff, 0, 0));
+ m->ce_count = str2ull(procfile_lineword(m->ce_ff, 0, 0), NULL);
ce_sum += m->ce_count;
m->ce_updated = 1;
}
@@ -119,7 +119,7 @@ int do_proc_sys_devices_system_edac_mc(int update_every, usec_t dt) {
if(unlikely(!m->ue_ff || procfile_lines(m->ue_ff) < 1 || procfile_linewords(m->ue_ff, 0) < 1))
continue;
- m->ue_count = str2ull(procfile_lineword(m->ue_ff, 0, 0));
+ m->ue_count = str2ull(procfile_lineword(m->ue_ff, 0, 0), NULL);
ue_sum += m->ue_count;
m->ue_updated = 1;
}