X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fconnection.c;h=41fbcc6984cb877009bc2d710af1d91b2329fc60;hb=870631a2db01676b476dbee615aade0a22926bcd;hp=4fa97a40f7fb012fc1aed5ab8ff8c8653da43a7d;hpb=3cd4c495b8c065ababc249f66d460c4a707d415a;p=babeltrace.git diff --git a/src/lib/graph/connection.c b/src/lib/graph/connection.c index 4fa97a40..41fbcc69 100644 --- a/src/lib/graph/connection.c +++ b/src/lib/graph/connection.c @@ -126,7 +126,7 @@ struct bt_connection *bt_connection_create(struct bt_graph *graph, graph, upstream_port, downstream_port); connection = g_new0(struct bt_connection, 1); if (!connection) { - BT_LOGE_STR("Failed to allocate one connection."); + BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate one connection."); goto end; } @@ -136,7 +136,7 @@ struct bt_connection *bt_connection_create(struct bt_graph *graph, parent_is_owner); connection->iterators = g_ptr_array_new(); if (!connection->iterators) { - BT_LOGE_STR("Failed to allocate a GPtrArray."); + BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate a GPtrArray."); BT_OBJECT_PUT_REF_AND_RESET(connection); goto end; }