From: Philippe Proulx Date: Wed, 7 Jun 2017 22:01:16 +0000 (-0400) Subject: lib/graph/{filter.c,sink.c,source.c}: fix log messages X-Git-Tag: v2.0.0-pre1~38 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=43ca7dcce9754163ee737d07401c7f38089cf2e9;p=babeltrace.git lib/graph/{filter.c,sink.c,source.c}: fix log messages Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/lib/graph/filter.c b/lib/graph/filter.c index 6cae9b3b..78913517 100644 --- a/lib/graph/filter.c +++ b/lib/graph/filter.c @@ -272,7 +272,7 @@ enum bt_component_status bt_private_component_filter_add_input_private_port( graph = bt_component_borrow_graph(component); if (graph && bt_graph_is_canceled(graph)) { - BT_LOGW("Cannot add output port to filter component: graph is canceled: " + BT_LOGW("Cannot add input port to filter component: graph is canceled: " "comp-addr=%p, comp-name=\"%s\", graph-addr=%p", component, bt_component_get_name(component), bt_component_borrow_graph(component)); diff --git a/lib/graph/sink.c b/lib/graph/sink.c index 063539f2..9462765f 100644 --- a/lib/graph/sink.c +++ b/lib/graph/sink.c @@ -226,7 +226,7 @@ enum bt_component_status bt_private_component_sink_add_input_private_port( graph = bt_component_borrow_graph(component); if (graph && bt_graph_is_canceled(graph)) { - BT_LOGW("Cannot add output port to filter component: graph is canceled: " + BT_LOGW("Cannot add input port to sink component: graph is canceled: " "comp-addr=%p, comp-name=\"%s\", graph-addr=%p", component, bt_component_get_name(component), bt_component_borrow_graph(component)); diff --git a/lib/graph/source.c b/lib/graph/source.c index b09494f2..758a1b52 100644 --- a/lib/graph/source.c +++ b/lib/graph/source.c @@ -191,7 +191,7 @@ enum bt_component_status bt_private_component_source_add_output_private_port( graph = bt_component_borrow_graph(component); if (graph && bt_graph_is_canceled(graph)) { - BT_LOGW("Cannot add output port to filter component: graph is canceled: " + BT_LOGW("Cannot add output port to source component: graph is canceled: " "comp-addr=%p, comp-name=\"%s\", graph-addr=%p", component, bt_component_get_name(component), bt_component_borrow_graph(component));