lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / trace-ir / event.c
index 0053b6b7f9dc8ab7c1c531342f973832a7733d58..ffe3080e315e12552b4af0f23b765f1750079b56 100644 (file)
@@ -86,7 +86,7 @@ struct bt_event *bt_event_new(struct bt_event_class *event_class)
        BT_ASSERT(event_class);
        event = g_new0(struct bt_event, 1);
        if (!event) {
-               BT_LOGE_STR("Failed to allocate one event.");
+               BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate one event.");
                goto error;
        }
 
This page took 0.02403 seconds and 4 git commands to generate.