projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: mark lttng_error_query communication header as const
[lttng-tools.git]
/
src
/
common
/
error-query.c
diff --git
a/src/common/error-query.c
b/src/common/error-query.c
index 38f47c224da98d67c45c28a9019dab19cfadfcb2..7b0872d90407a7d59f3a8b50c9b99d2633dc3326 100644
(file)
--- 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_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,
};
.target_type = (typeof(header.target_type)) query->target_type,
};
This page took
0.023171 seconds
and
4
git commands to generate.