diff options
Diffstat (limited to '')
-rw-r--r-- | collectors/proc.plugin/proc_softirqs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/proc.plugin/proc_softirqs.c b/collectors/proc.plugin/proc_softirqs.c index 4c4df7668..0d5d8ef9c 100644 --- a/collectors/proc.plugin/proc_softirqs.c +++ b/collectors/proc.plugin/proc_softirqs.c @@ -75,7 +75,7 @@ int do_proc_softirqs(int update_every, usec_t dt) { size_t words = procfile_linewords(ff, 0); if(unlikely(!lines)) { - error("Cannot read /proc/softirqs, zero lines reported."); + collector_error("Cannot read /proc/softirqs, zero lines reported."); return 1; } @@ -90,7 +90,7 @@ int do_proc_softirqs(int update_every, usec_t dt) { } if(unlikely(!cpus)) { - error("PLUGIN: PROC_SOFTIRQS: Cannot find the number of CPUs in /proc/softirqs"); + collector_error("PLUGIN: PROC_SOFTIRQS: Cannot find the number of CPUs in /proc/softirqs"); return 1; } |