From: Jérémie Galarneau Date: Mon, 16 Nov 2020 21:10:09 +0000 (-0500) Subject: relayd: logging of `trace chunk exists` command refers to the wrong command X-Git-Tag: v2.13.0-rc1~424 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=8a82be4c62d09a7ef4792c0eed7c7903dfac8424;ds=sidebyside relayd: logging of `trace chunk exists` command refers to the wrong command Signed-off-by: Jérémie Galarneau Change-Id: I6e2bf4eee379f4e1d42333779dfeaf8f087d8217 --- diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 10ce29197..a250100d1 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -3105,20 +3105,20 @@ static int relay_trace_chunk_exists(const struct lttcomm_relayd_hdr *recv_hdr, bool chunk_exists; if (!session || !conn->version_check_done) { - ERR("Trying to close a trace chunk before version check"); + ERR("Trying to check for the existance of a trace chunk before version check"); ret = -1; goto end_no_reply; } if (session->major == 2 && session->minor < 11) { - ERR("Chunk close command is unsupported before 2.11"); + ERR("Chunk exists command is unsupported before 2.11"); ret = -1; goto end_no_reply; } header_view = lttng_buffer_view_from_view(payload, 0, sizeof(*msg)); if (!header_view.data) { - ERR("Failed to receive payload of chunk close command"); + ERR("Failed to receive payload of chunk exists command"); ret = -1; goto end_no_reply; }