From 43ca7dcce9754163ee737d07401c7f38089cf2e9 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 7 Jun 2017 18:01:16 -0400 Subject: [PATCH] lib/graph/{filter.c,sink.c,source.c}: fix log messages MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- lib/graph/filter.c | 2 +- lib/graph/sink.c | 2 +- lib/graph/source.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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)); -- 2.34.1