From aa27c467810fecc2d6559c9df4b8c36306699e86 Mon Sep 17 00:00:00 2001
From: Andre Noll <maan@systemlinux.org>
Date: Mon, 6 Jul 2009 11:08:28 +0200
Subject: [PATCH] Fix some format-string warnings on x86_64.

---
 command.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/command.c b/command.c
index 90c4b608..a9eb03f1 100644
--- a/command.c
+++ b/command.c
@@ -777,7 +777,7 @@ __noreturn void handle_connect(int fd, const char *peername)
 		numbytes = 256;
 		get_random_bytes_or_die((unsigned char *)buf, numbytes);
 	}
-	PARA_DEBUG_LOG("sending %zu byte challenge + rc4 keys (%u bytes)\n",
+	PARA_DEBUG_LOG("sending %u byte challenge + rc4 keys (%zu bytes)\n",
 		CHALLENGE_SIZE, numbytes);
 	ret = send_bin_buffer(fd, buf, numbytes);
 	if (ret < 0)
@@ -787,7 +787,7 @@ __noreturn void handle_connect(int fd, const char *peername)
 	if (ret < 0)
 		goto net_err;
 	numbytes = ret;
-	PARA_DEBUG_LOG("received %zu bytes challenge response\n", ret);
+	PARA_DEBUG_LOG("received %d bytes challenge response\n", ret);
 	ret = -E_BAD_USER;
 	if (!u)
 		goto net_err;
-- 
2.39.5