lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / component-source.c
index e62c5bd1aad9508a54d2f365886bdcd35c813812..e81a143aec4c3f79b11f3f8d6a7fb5271acf1cd7 100644 (file)
@@ -50,7 +50,8 @@ struct bt_component *bt_component_source_create(
 
        source = g_new0(struct bt_component_source, 1);
        if (!source) {
-               BT_LOGE_STR("Failed to allocate one source component.");
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Failed to allocate one source component.");
                goto end;
        }
 
This page took 0.022948 seconds and 4 git commands to generate.