lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / trace-ir / field-path.c
index 9a4af3a29a8ab090be9a1c99cd9fde34ee185b9b..80c9f3181f287e20a0fbe639d72d737a7589358a 100644 (file)
@@ -57,7 +57,7 @@ struct bt_field_path *bt_field_path_create(void)
 
        field_path = g_new0(struct bt_field_path, 1);
        if (!field_path) {
-               BT_LOGE_STR("Failed to allocate one field path.");
+               BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate one field path.");
                goto error;
        }
 
@@ -65,7 +65,7 @@ struct bt_field_path *bt_field_path_create(void)
        field_path->items = g_array_new(FALSE, FALSE,
                sizeof(struct bt_field_path_item));
        if (!field_path->items) {
-               BT_LOGE_STR("Failed to allocate a GArray.");
+               BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate a GArray.");
                goto error;
        }
 
This page took 0.024515 seconds and 4 git commands to generate.