projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git]
/
src
/
lib
/
graph
/
connection.c
diff --git
a/src/lib/graph/connection.c
b/src/lib/graph/connection.c
index 4fa97a40f7fb012fc1aed5ab8ff8c8653da43a7d..41fbcc6984cb877009bc2d710af1d91b2329fc60 100644
(file)
--- 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) {
graph, upstream_port, downstream_port);
connection = g_new0(struct bt_connection, 1);
if (!connection) {
- BT_L
OGE_STR
("Failed to allocate one connection.");
+ BT_L
IB_LOGE_APPEND_CAUSE
("Failed to allocate one connection.");
goto end;
}
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) {
parent_is_owner);
connection->iterators = g_ptr_array_new();
if (!connection->iterators) {
- BT_L
OGE_STR
("Failed to allocate a GPtrArray.");
+ BT_L
IB_LOGE_APPEND_CAUSE
("Failed to allocate a GPtrArray.");
BT_OBJECT_PUT_REF_AND_RESET(connection);
goto end;
}
BT_OBJECT_PUT_REF_AND_RESET(connection);
goto end;
}
This page took
0.024427 seconds
and
4
git commands to generate.