From: Jérémie Galarneau Date: Wed, 9 Jun 2021 22:04:28 +0000 (-0400) Subject: Clean-up: mark lttng_error_query communication header as const X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=92ec606f84483d18b171b48057d73b7086799209;p=lttng-tools.git Clean-up: mark lttng_error_query communication header as const Signed-off-by: Jérémie Galarneau Change-Id: I166ef90aee0d4d7da9ce1002cbbe2a35eea88757 --- 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, };