Cleanup: clarify ownership of excluder
[lttng-ust.git] / liblttng-ust / lttng-ust-abi.c
index 7490f8b72d22f28435a63475e3900953892d74b8..5063ec6c7c1b14d981ce8fed0ea4d222631cd6cf 100644 (file)
@@ -715,7 +715,7 @@ long lttng_event_notifier_enabler_cmd(int objd, unsigned int cmd, unsigned long
                        (struct lttng_ust_bytecode_node *) arg);
        case LTTNG_UST_EXCLUSION:
                return lttng_event_notifier_enabler_attach_exclusion(event_notifier_enabler,
-                       (struct lttng_ust_excluder_node *) arg);
+                       (struct lttng_ust_excluder_node **) arg);
        case LTTNG_UST_CAPTURE:
                return lttng_event_notifier_enabler_attach_capture_bytecode(
                        event_notifier_enabler,
@@ -1299,7 +1299,7 @@ long lttng_event_enabler_cmd(int objd, unsigned int cmd, unsigned long arg,
        case LTTNG_UST_EXCLUSION:
        {
                return lttng_event_enabler_attach_exclusion(enabler,
-                               (struct lttng_ust_excluder_node *) arg);
+                               (struct lttng_ust_excluder_node **) arg);
        }
        default:
                return -EINVAL;
This page took 0.022658 seconds and 4 git commands to generate.