printf [s]size_t as %z[du].

This commit is contained in:
Emil Mikulic 2014-05-26 21:56:45 +10:00
parent 0001301dae
commit 11f953e783

View File

@ -2176,7 +2176,7 @@ static ssize_t send_from_file(const int s, const int fd,
return -1;
}
else if ((size_t)numread != amount) {
fprintf(stderr, "read %d bytes, expecting %u bytes on fd %d\n",
fprintf(stderr, "read %zd bytes, expecting %zu bytes on fd %d\n",
numread, amount, fd);
return -1;
}