From: Kay Sievers Date: Wed, 18 Jun 2008 08:12:14 +0000 (+0200) Subject: collect: fix size_t printf X-Git-Tag: 174~1679 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c389ce8a098fa02c93890205d715ecef6024c3e;p=systemd collect: fix size_t printf --- diff --git a/extras/collect/collect.c b/extras/collect/collect.c index 9fb6737d..ce49b9f4 100644 --- a/extras/collect/collect.c +++ b/extras/collect/collect.c @@ -147,7 +147,7 @@ static int checkout(int fd) if (!ptr && word < (buf + len)) { bufsize = bufsize << 1; if (debug) - fprintf(stderr, "ID overflow, restarting with size %d\n", bufsize); + fprintf(stderr, "ID overflow, restarting with size %zi\n", bufsize); free(buf); lseek(fd, 0, SEEK_SET); goto restart;