summaryrefslogtreecommitdiffstats
path: root/winsup/cygserver/client.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-06-23 09:17:24 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-06-23 09:17:24 +0000
commitefaf85c5e60a8b9e51c002bdee73211481206717 (patch)
tree371cb65bf92185da909615364b3faefc80c94c7d /winsup/cygserver/client.cc
parent852ed641eea01449a1328079f9f50cfff4e56b69 (diff)
downloadcygnal-efaf85c5e60a8b9e51c002bdee73211481206717.tar.gz
cygnal-efaf85c5e60a8b9e51c002bdee73211481206717.tar.bz2
cygnal-efaf85c5e60a8b9e51c002bdee73211481206717.zip
* client.cc: Throughout, fix debug output of signed byte count value.
Diffstat (limited to 'winsup/cygserver/client.cc')
-rw-r--r--winsup/cygserver/client.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/winsup/cygserver/client.cc b/winsup/cygserver/client.cc
index 9775bbc44..0c6c24ba9 100644
--- a/winsup/cygserver/client.cc
+++ b/winsup/cygserver/client.cc
@@ -140,7 +140,7 @@ client_request::send (transport_layer_base * const conn)
assert (errno);
error_code (errno);
syscall_printf (("request header write failure: "
- "only %lu bytes sent of %lu, "
+ "only %ld bytes sent of %lu, "
"error = %d(%u)"),
count, sizeof (_header),
errno, GetLastError ());
@@ -157,7 +157,7 @@ client_request::send (transport_layer_base * const conn)
assert (errno);
error_code (errno);
syscall_printf (("request body write failure: "
- "only %lu bytes sent of %lu, "
+ "only %ld bytes sent of %lu, "
"error = %d(%u)"),
count, msglen (),
errno, GetLastError ());
@@ -173,7 +173,7 @@ client_request::send (transport_layer_base * const conn)
assert (errno);
error_code (errno);
syscall_printf (("reply header read failure: "
- "only %lu bytes received of %lu, "
+ "only %ld bytes received of %lu, "
"error = %d(%u)"),
count, sizeof (_header),
errno, GetLastError ());
@@ -207,7 +207,7 @@ client_request::send (transport_layer_base * const conn)
assert (errno);
error_code (errno);
syscall_printf (("reply body read failure: "
- "only %lu bytes received of %lu, "
+ "only %ld bytes received of %lu, "
"error = %d(%u)"),
count, msglen (),
errno, GetLastError ());
@@ -253,7 +253,7 @@ client_request::handle_request (transport_layer_base *const conn,
if (count != sizeof (header))
{
syscall_printf (("request header read failure: "
- "only %lu bytes received of %lu, "
+ "only %ld bytes received of %lu, "
"error = %d(%u)"),
count, sizeof (header),
errno, GetLastError ());
@@ -350,7 +350,7 @@ client_request::handle (transport_layer_base *const conn,
assert (errno);
error_code (errno);
syscall_printf (("request body read failure: "
- "only %lu bytes received of %lu, "
+ "only %ld bytes received of %lu, "
"error = %d(%u)"),
count, msglen (),
errno, GetLastError ());
@@ -374,7 +374,7 @@ client_request::handle (transport_layer_base *const conn,
assert (errno);
error_code (errno);
syscall_printf (("reply header write failure: "
- "only %lu bytes sent of %lu, "
+ "only %ld bytes sent of %lu, "
"error = %d(%u)"),
count, sizeof (_header),
errno, GetLastError ());
@@ -391,7 +391,7 @@ client_request::handle (transport_layer_base *const conn,
assert (errno);
error_code (errno);
syscall_printf (("reply body write failure: "
- "only %lu bytes sent of %lu, "
+ "only %ld bytes sent of %lu, "
"error = %d(%u)"),
count, msglen (),
errno, GetLastError ());