]> arthur.barton.de Git - netdata.git/commitdiff
fix format string signness
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 28 Jan 2017 02:33:35 +0000 (04:33 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 28 Jan 2017 02:33:35 +0000 (04:33 +0200)
src/procfile.c

index e493bff98ba98187955b4ed8bf9ab0eb7adff4b4..3d6c8fe50c09df70e5e1a10d0312e26a270ab589 100644 (file)
@@ -285,7 +285,7 @@ procfile *procfile_readall(procfile *ff) {
             ff->size += PROCFILE_INCREMENT_BUFFER;
         }
 
-        debug(D_PROCFILE, "Reading file '%s', from position %ld with length %zu", procfile_filename(ff), s, ff->size - s);
+        debug(D_PROCFILE, "Reading file '%s', from position %ld with length %zd", procfile_filename(ff), s, ff->size - s);
         r = read(ff->fd, &ff->data[s], ff->size - s);
         if(unlikely(r == -1)) {
             if(unlikely(!(ff->flags & PROCFILE_FLAG_NO_ERROR_ON_FILE_IO))) error(PF_PREFIX ": Cannot read from file '%s'", procfile_filename(ff));