diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-06 16:11:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-06 16:11:30 +0000 |
commit | aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7 (patch) | |
tree | 941cbdd387b41c1a81587c20a6df9f0e5e0ff7ab /collectors/proc.plugin/sys_devices_system_node.c | |
parent | Adding upstream version 1.37.1. (diff) | |
download | netdata-aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7.tar.xz netdata-aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7.zip |
Adding upstream version 1.38.0.upstream/1.38.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/proc.plugin/sys_devices_system_node.c')
-rw-r--r-- | collectors/proc.plugin/sys_devices_system_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/proc.plugin/sys_devices_system_node.c b/collectors/proc.plugin/sys_devices_system_node.c index 90aafd56a..068d739db 100644 --- a/collectors/proc.plugin/sys_devices_system_node.c +++ b/collectors/proc.plugin/sys_devices_system_node.c @@ -19,7 +19,7 @@ static int find_all_nodes() { DIR *dir = opendir(dirname); if(!dir) { - error("Cannot read NUMA node directory '%s'", dirname); + collector_error("Cannot read NUMA node directory '%s'", dirname); return 0; } @@ -134,7 +134,7 @@ int do_proc_sys_devices_system_node(int update_every, usec_t dt) { if(unlikely(words < 2)) { if(unlikely(words)) - error("Cannot read %s numastat line %zu. Expected 2 params, read %zu.", m->name, l, words); + collector_error("Cannot read %s numastat line %zu. Expected 2 params, read %zu.", m->name, l, words); continue; } |