fix format string signness
Costa Tsaousis (ktsaou) committed
Jan 28, 2017 at 04:33 UTC
9ed02d41dae8ffcde3a89bba10dca939708ce785
1 file changed
+1
-1
src/procfile.c
+1
-1
@@ -285,7 +285,7 @@ procfile *procfile_readall(procfile *ff) {
285
ff->size += PROCFILE_INCREMENT_BUFFER;
286
}
287
288
- debug(D_PROCFILE, "Reading file '%s', from position %ld with length %zu", procfile_filename(ff), s, ff->size - s);
288
+ debug(D_PROCFILE, "Reading file '%s', from position %ld with length %zd", procfile_filename(ff), s, ff->size - s);
289
r = read(ff->fd, &ff->data[s], ff->size - s);
290
if(unlikely(r == -1)) {
291
if(unlikely(!(ff->flags & PROCFILE_FLAG_NO_ERROR_ON_FILE_IO))) error(PF_PREFIX ": Cannot read from file '%s'", procfile_filename(ff));