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
/
port.c
diff --git
a/src/lib/graph/port.c
b/src/lib/graph/port.c
index df7c84df7285f26abe6cc87c90ec6e8f22eb3682..d7455dca82afb1c6ce33185d04a277e9cc982c18 100644
(file)
--- a/
src/lib/graph/port.c
+++ b/
src/lib/graph/port.c
@@
-66,7
+66,7
@@
struct bt_port *bt_port_create(struct bt_component *parent_component,
BT_ASSERT(strlen(name) > 0);
port = g_new0(struct bt_port, 1);
if (!port) {
BT_ASSERT(strlen(name) > 0);
port = g_new0(struct bt_port, 1);
if (!port) {
- BT_L
OGE_STR
("Failed to allocate one port.");
+ BT_L
IB_LOGE_APPEND_CAUSE
("Failed to allocate one port.");
goto end;
}
goto end;
}
@@
-76,7
+76,7
@@
struct bt_port *bt_port_create(struct bt_component *parent_component,
bt_object_init_shared_with_parent(&port->base, destroy_port);
port->name = g_string_new(name);
if (!port->name) {
bt_object_init_shared_with_parent(&port->base, destroy_port);
port->name = g_string_new(name);
if (!port->name) {
- BT_L
OGE_STR
("Failed to allocate one GString.");
+ BT_L
IB_LOGE_APPEND_CAUSE
("Failed to allocate one GString.");
BT_OBJECT_PUT_REF_AND_RESET(port);
goto end;
}
BT_OBJECT_PUT_REF_AND_RESET(port);
goto end;
}
This page took
0.023397 seconds
and
4
git commands to generate.