From 92ec606f84483d18b171b48057d73b7086799209 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 9 Jun 2021 18:04:28 -0400 Subject: [PATCH] Clean-up: mark lttng_error_query communication header as const MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Change-Id: I166ef90aee0d4d7da9ce1002cbbe2a35eea88757 --- src/common/error-query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/error-query.c b/src/common/error-query.c index 38f47c224..7b0872d90 100644 --- a/src/common/error-query.c +++ b/src/common/error-query.c @@ -745,7 +745,7 @@ int lttng_error_query_serialize(const struct lttng_error_query *query, struct lttng_payload *payload) { int ret; - struct lttng_error_query_comm header = { + const struct lttng_error_query_comm header = { .target_type = (typeof(header.target_type)) query->target_type, }; -- 2.34.1