lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / message / packet.c
index 13882395d610bf7f9a9c4e15052ccfc21ea08e9b..63471f6040c1e17fc62c634db45048fa1ced2d69 100644 (file)
@@ -52,7 +52,8 @@ struct bt_message *new_packet_message(struct bt_graph *graph,
 
        message = g_new0(struct bt_message_packet, 1);
        if (!message) {
-               BT_LOGE_STR("Failed to allocate one packet message.");
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Failed to allocate one packet message.");
                goto error;
        }
 
This page took 0.023844 seconds and 4 git commands to generate.