Skip to content

Commit

Permalink
Correct previous fix
Browse files Browse the repository at this point in the history
Inadvertently omitted the conversion specifier

Signed-off-by: Simo Sorce <simo@redhat.com>
  • Loading branch information
simo5 committed Jul 26, 2022
1 parent a42969b commit 45244aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gp_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ static void gp_socket_write(verto_ctx *vctx, verto_ev *ev)
/* don't bother trying to handle sockets that can't
* buffer even 4 bytes */
GPDEBUGN(3, "[status] Sending data [%p (%zu)]: failed with short "
"write of %z\n", wbuf->data, wbuf->size, wn);
"write of %zi\n", wbuf->data, wbuf->size, wn);
gp_conn_free(wbuf->conn);
gp_buffer_free(wbuf);
return;
Expand All @@ -630,7 +630,7 @@ static void gp_socket_write(verto_ctx *vctx, verto_ev *ev)
}
wbuf->pos += wn;

GPDEBUGN(3, "[status] Sending data [%p (%zu)]: successful write of %z\n",
GPDEBUGN(3, "[status] Sending data [%p (%zu)]: successful write of %zi\n",
wbuf->data, wbuf->size, wn);


Expand Down

0 comments on commit 45244aa

Please sign in to comment.