lib/graph/{filter.c,sink.c,source.c}: fix log messages
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 7 Jun 2017 22:01:16 +0000 (18:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Jun 2017 21:03:27 +0000 (17:03 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/graph/filter.c
lib/graph/sink.c
lib/graph/source.c

index 6cae9b3b76da2e163f94bd1ccc49fbe44e91fe51..78913517d2189bf69e5c1d372f7c073bf319876c 100644 (file)
@@ -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)) {
        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));
                        "comp-addr=%p, comp-name=\"%s\", graph-addr=%p",
                        component, bt_component_get_name(component),
                        bt_component_borrow_graph(component));
index 063539f2acd3c0fd24d02acb5ab7385d40066e50..9462765f66a2535cea8a442baf88bbad7e54a070 100644 (file)
@@ -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)) {
        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));
                        "comp-addr=%p, comp-name=\"%s\", graph-addr=%p",
                        component, bt_component_get_name(component),
                        bt_component_borrow_graph(component));
index b09494f25e6aa384cdffa3c6e816e98da683157a..758a1b525659f5ead76bce5704e1e67e03403e17 100644 (file)
@@ -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)) {
        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));
                        "comp-addr=%p, comp-name=\"%s\", graph-addr=%p",
                        component, bt_component_get_name(component),
                        bt_component_borrow_graph(component));
This page took 0.028687 seconds and 4 git commands to generate.