another %d -> %zd fix
authorAndre <maan@p133.(none)>
Mon, 6 Mar 2006 20:57:27 +0000 (21:57 +0100)
committerAndre <maan@p133.(none)>
Mon, 6 Mar 2006 20:57:27 +0000 (21:57 +0100)
Noticed by Steffen Klassert

net.c

diff --git a/net.c b/net.c
index 0a0d803..e897645 100644 (file)
--- a/net.c
+++ b/net.c
@@ -73,7 +73,7 @@ static int sendall(int fd, const char *buf, size_t *len)
                total += n;
                bytesleft -= n;
                if (total < *len)
                total += n;
                bytesleft -= n;
                if (total < *len)
-                       PARA_DEBUG_LOG("short write (%d byte(s) left)",
+                       PARA_DEBUG_LOG("short write (%zd byte(s) left)",
                                *len - total);
        }
        *len = total; /* return number actually sent here */
                                *len - total);
        }
        *len = total; /* return number actually sent here */