lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / component-sink.c
index 669e15dffe9b84a5c21339cd13b26f2345142669..9c66bda7932b1f2ea30c6da8fef05ea4cd60dd79 100644 (file)
@@ -49,7 +49,8 @@ struct bt_component *bt_component_sink_create(
 
        sink = g_new0(struct bt_component_sink, 1);
        if (!sink) {
-               BT_LOGE_STR("Failed to allocate one sink component.");
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Failed to allocate one sink component.");
                goto end;
        }
 
This page took 0.025095 seconds and 4 git commands to generate.