chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
322fc7a
)
collect: fix size_t printf
author
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 18 Jun 2008 08:12:14 +0000
(10:12 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 18 Jun 2008 08:12:14 +0000
(10:12 +0200)
extras/collect/collect.c
patch
|
blob
|
history
diff --git
a/extras/collect/collect.c
b/extras/collect/collect.c
index 9fb6737d9b4d6af94877d5b2efdb39c96ad7053e..ce49b9f410c5630ea6ce70898ab456042b4aa806 100644
(file)
--- 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)
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;
free(buf);
lseek(fd, 0, SEEK_SET);
goto restart;