diff options
Diffstat (limited to 'collectors/proc.plugin/proc_vmstat.c')
-rw-r--r-- | collectors/proc.plugin/proc_vmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/proc.plugin/proc_vmstat.c b/collectors/proc.plugin/proc_vmstat.c index b8defc455..638d1690c 100644 --- a/collectors/proc.plugin/proc_vmstat.c +++ b/collectors/proc.plugin/proc_vmstat.c @@ -100,7 +100,7 @@ int do_proc_vmstat(int update_every, usec_t dt) { for(l = 0; l < lines ;l++) { size_t words = procfile_linewords(ff, l); if(unlikely(words < 2)) { - if(unlikely(words)) error("Cannot read /proc/vmstat line %zu. Expected 2 params, read %zu.", l, words); + if(unlikely(words)) collector_error("Cannot read /proc/vmstat line %zu. Expected 2 params, read %zu.", l, words); continue; } |