lib: standardize listener ID types with new `bt_listener_id` type
[babeltrace.git] / src / lib / graph / component-filter.c
index 5efff1ab75bb9ae3ca1babb38f1eaea99e464876..df617c6866ffcd25f6d9858a6618a9d2e2fbbc86 100644 (file)
@@ -50,7 +50,8 @@ struct bt_component *bt_component_filter_create(
 
        filter = g_new0(struct bt_component_filter, 1);
        if (!filter) {
-               BT_LOGE_STR("Failed to allocate one filter component.");
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Failed to allocate one filter component.");
                goto end;
        }
 
@@ -64,7 +65,7 @@ bt_component_filter_borrow_class_const(
 {
        struct bt_component_class *cls;
 
-       BT_ASSERT_PRE_NON_NULL(component, "Component");
+       BT_ASSERT_PRE_DEV_NON_NULL(component, "Component");
 
        cls = component->parent.class;
 
This page took 0.024119 seconds and 4 git commands to generate.