From d079b656b4719739b2247dcd9d46e9bec793095a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 Feb 2023 17:11:34 +0100 Subject: Merging upstream version 1.38.0. Signed-off-by: Daniel Baumann --- collectors/proc.plugin/sys_devices_system_node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'collectors/proc.plugin/sys_devices_system_node.c') 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; } -- cgit v1.2.3