diff --git a/darkhttpd.c b/darkhttpd.c index 10aac09..7f1adbb 100644 --- a/darkhttpd.c +++ b/darkhttpd.c @@ -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; }