From 4b28251df4f1b653e7b3e015138c3da53a05bd58 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 9 Jan 2010 22:27:06 +1100 Subject: [PATCH] - dtucker@cvs.openbsd.org 2010/01/09 05:17:00 [roaming_client.c] Remove a PRIu64 format string that snuck in with roaming. ok djm@ --- ChangeLog | 3 +++ roaming_client.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b3ae6bdb4..9eda2f396 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,9 @@ [mux.c sshpty.h clientloop.c sshtty.c] quell tc[gs]etattr warnings when forcing a tty (ssh -tt), since we usually don't actually have a tty to read/set; bz#1686 ok dtucker@ + - dtucker@cvs.openbsd.org 2010/01/09 05:17:00 + [roaming_client.c] + Remove a PRIu64 format string that snuck in with roaming. ok djm@ 20091208 - (dtucker) OpenBSD CVS Sync diff --git a/roaming_client.c b/roaming_client.c index c80db5826..cc387a544 100644 --- a/roaming_client.c +++ b/roaming_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: roaming_client.c,v 1.1 2009/10/24 11:22:37 andreas Exp $ */ +/* $OpenBSD: roaming_client.c,v 1.2 2010/01/09 05:17:00 dtucker Exp $ */ /* * Copyright (c) 2004-2009 AppGate Network Security AB * @@ -122,7 +122,7 @@ roaming_auth_required(void) calculate_new_key(&key1, cookie, chall); calculate_new_key(&key2, cookie, chall); - debug("Received %" PRIu64 " bytes", get_recv_bytes()); + debug("Received %llu bytes", (long long unsigned)get_recv_bytes()); debug("Sent roaming_auth packet"); } @@ -216,7 +216,7 @@ roaming_resume(void) goto fail; } recv_bytes = packet_get_int64() ^ oldkey2; - debug("Peer received %" PRIu64 " bytes", recv_bytes); + debug("Peer received %llu bytes", (long long unsigned)recv_bytes); resend_bytes(packet_get_connection_out(), &recv_bytes); resume_in_progress = 0;