aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/packet.c')
-rw-r--r--libssh/packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/packet.c b/libssh/packet.c
index c9a1a50d..3c54236f 100644
--- a/libssh/packet.c
+++ b/libssh/packet.c
@@ -466,8 +466,8 @@ static int packet_send2(SSH_SESSION *session) {
finallen = htonl(currentlen + padding + 1);
ssh_log(session, SSH_LOG_RARE,
- "%d bytes after comp + %d padding bytes = %d bytes packet",
- currentlen, padding, (ntohl(finallen)));
+ "%d bytes after comp + %d padding bytes = %lu bytes packet",
+ currentlen, padding, (long unsigned int) ntohl(finallen));
if (buffer_prepend_data(session->out_buffer, &padding, sizeof(u8)) < 0) {
goto error;