lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / message / stream.c
index 44c1a2d9241f3c5106d1499270ef06883d927d5c..ff7d1c83730a40c2a78d20837ab80f2f06524fbd 100644 (file)
@@ -67,7 +67,8 @@ struct bt_message *create_stream_message(
                bt_message_type_string(type), stream, stream_class);
        message = g_new0(struct bt_message_stream, 1);
        if (!message) {
-               BT_LOGE_STR("Failed to allocate one stream message.");
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Failed to allocate one stream message.");
                goto error;
        }
 
This page took 0.0238 seconds and 4 git commands to generate.