X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fgroup.c;h=31c6f456ebcdf2c11c3e0da702f5733befd13eac;hp=1a434616f3d08fb1845f6d3c95faadeef029c59f;hb=17182cfd13b6d35cf8c80d4f9ccf8d2bdd1a05f2;hpb=9e620ea7b016fc3fd4e08b5d094ffa40b36b50f6 diff --git a/src/common/actions/group.c b/src/common/actions/group.c index 1a434616f..31c6f456e 100644 --- a/src/common/actions/group.c +++ b/src/common/actions/group.c @@ -16,7 +16,7 @@ #include #define IS_GROUP_ACTION(action) \ - (lttng_action_get_type_const(action) == LTTNG_ACTION_TYPE_GROUP) + (lttng_action_get_type(action) == LTTNG_ACTION_TYPE_GROUP) struct lttng_action_group { struct lttng_action parent; @@ -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; }