]> err.no Git - systemd/commitdiff
collect: fix size_t printf
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 18 Jun 2008 08:12:14 +0000 (10:12 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 18 Jun 2008 08:12:14 +0000 (10:12 +0200)
extras/collect/collect.c

index 9fb6737d9b4d6af94877d5b2efdb39c96ad7053e..ce49b9f410c5630ea6ce70898ab456042b4aa806 100644 (file)
@@ -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;