X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fgroup.c;h=f5720741598af8c1288c1a383e38f3bd7c9be6e0;hb=97285430b75f44b6ce590e86cb9d996390e514c8;hp=5931eb38ba4534c64b59d843aa083576b39ec36f;hpb=0c51e8f329cdd907761e34c3e4394200a56c6812;p=lttng-tools.git diff --git a/src/common/actions/group.c b/src/common/actions/group.c index 5931eb38b..f57207415 100644 --- a/src/common/actions/group.c +++ b/src/common/actions/group.c @@ -7,8 +7,8 @@ #include #include -#include -#include +#include +#include #include #include #include @@ -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; }