X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;fp=src%2Fcommon%2Fsessiond-comm%2Fsessiond-comm.h;h=e327e014c078a5c8fcee6c7c7f366bc29549b7da;hp=f80c3e7c8dbdfd867dce80f14bb5205535c9a087;hb=62e6775c1485031cd086d8bc099f19265af44e56;hpb=97f9ed7d7da933aaf3c25c9a8a7fe12b5b9f8d58 diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index f80c3e7c8..e327e014c 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -566,11 +566,11 @@ struct lttng_bytecode { struct lttng_event_exclusion { uint32_t count; char padding[LTTNG_EVENT_EXCLUSION_PADDING]; - char names[0][LTTNG_SYMBOL_NAME_LEN]; + char names[][LTTNG_SYMBOL_NAME_LEN]; } LTTNG_PACKED; #define LTTNG_EVENT_EXCLUSION_NAME_AT(_exclusion, _i) \ - (&(_exclusion)->names[_i][0]) + ((_exclusion)->names[_i]) /* * Listing command header.