X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fgroup.c;h=f5720741598af8c1288c1a383e38f3bd7c9be6e0;hp=1a434616f3d08fb1845f6d3c95faadeef029c59f;hb=f3a9cc3478223679d8fea55d5eedce111b462feb;hpb=2f571d6fcdc6603de2b68eef27214c360a1dac5d;ds=sidebyside diff --git a/src/common/actions/group.c b/src/common/actions/group.c index 1a434616f..f57207415 100644 --- a/src/common/actions/group.c +++ b/src/common/actions/group.c @@ -278,7 +278,7 @@ enum lttng_action_status lttng_action_group_add_action( enum lttng_action_status status; int ret; - if (!group || !IS_GROUP_ACTION(action) || !action) { + if (!group || !IS_GROUP_ACTION(group) || !action) { status = LTTNG_ACTION_STATUS_INVALID; goto end; }