diff --git a/qrexec/qrexec_agent.c b/qrexec/qrexec_agent.c index f8d7e20e..f5e80256 100644 --- a/qrexec/qrexec_agent.c +++ b/qrexec/qrexec_agent.c @@ -228,8 +228,8 @@ void send_exit_code(int client_id, int status) s_hdr.len = sizeof status; write_all_vchan_ext(&s_hdr, sizeof s_hdr); write_all_vchan_ext(&status, sizeof(status)); - fprintf(stderr, "send exit code for client_id %d pid %d\n", - client_id, client_info[client_id].pid); + fprintf(stderr, "send exit code %d for client_id %d pid %d\n", + status, client_id, client_info[client_id].pid); }