]> arthur.barton.de Git - netdata.git/blobdiff - src/proc_vmstat.c
fix for format string signess
[netdata.git] / src / proc_vmstat.c
index 7b20ed8cff4d72c55cf0d71579bb9616106be2f1..a63caf2765de96a18983e0fdd46999cfddc8f128 100644 (file)
@@ -321,7 +321,7 @@ int do_proc_vmstat(int update_every, unsigned long long dt) {
        for(l = 0; l < lines ;l++) {
                words = procfile_linewords(ff, l);
                if(words < 2) {
-                       if(words) error("Cannot read /proc/vmstat line %d. Expected 2 params, read %d.", l, words);
+                       if(words) error("Cannot read /proc/vmstat line %d. Expected 2 params, read %u.", l, words);
                        continue;
                }