Fix: circular inclusion of lttng.h results in warning
[lttng-tools.git] / tests / regression / tools / notification / base_client.c
index 7fbaa9e4dc77741047e43dffe9635733402172b3..043952d4457eac8f717a110a5b4befa28c4b320b 100644 (file)
@@ -41,6 +41,7 @@
 #include <lttng/notification/channel.h>
 #include <lttng/notification/notification.h>
 #include <lttng/trigger/trigger.h>
+#include <lttng/lttng-error.h>
 
 static unsigned int nr_notifications = 0;
 static unsigned int nr_expected_notifications = 0;
@@ -201,7 +202,7 @@ int main(int argc, char **argv)
                goto end;
        }
        condition_status = lttng_condition_buffer_usage_set_domain_type(
-                       condition, LTTNG_DOMAIN_UST);
+                       condition, domain_type);
        if (condition_status != LTTNG_CONDITION_STATUS_OK) {
                printf("error: Could not set domain type\n");
                ret = 1;
This page took 0.023139 seconds and 4 git commands to generate.