diff options
author | nicm <nicm> | 2015-03-31 17:45:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-03-31 17:45:10 +0000 |
commit | 02df86079b1f3155313ebb6f891cf6cf593d3ad9 (patch) | |
tree | e7ae66647bb6a838166789e3525cff8dcc755f28 /client.c | |
parent | cd9ccbc1e98b48fd8bfb64356664313a8eb1f7b0 (diff) |
Fix some format specifier nits, from Ben Boeckel.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -557,7 +557,7 @@ client_dispatch_wait(void *data0) data = imsg.data; datalen = imsg.hdr.len - IMSG_HEADER_SIZE; - log_debug("got %d from server", imsg.hdr.type); + log_debug("got %u from server", imsg.hdr.type); switch (imsg.hdr.type) { case MSG_EXIT: case MSG_SHUTDOWN: @@ -604,7 +604,7 @@ client_dispatch_wait(void *data0) fatalx("bad MSG_VERSION size"); fprintf(stderr, "protocol version mismatch " - "(client %u, server %u)\n", PROTOCOL_VERSION, + "(client %d, server %u)\n", PROTOCOL_VERSION, imsg.hdr.peerid); client_exitval = 1; @@ -648,7 +648,7 @@ client_dispatch_attached(void) data = imsg.data; datalen = imsg.hdr.len - IMSG_HEADER_SIZE; - log_debug("got %d from server", imsg.hdr.type); + log_debug("got %u from server", imsg.hdr.type); switch (imsg.hdr.type) { case MSG_DETACH: case MSG_DETACHKILL: |