X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fcli%2Fbabeltrace2.c;h=ad8ec4b711d3593dbd2ae36252d910795ca8a73d;hp=ad211fa24f2b47e2d4d794a8b7d60f26f45c5442;hb=f3d6b4c2f7592fde9ff770989b25bacaa4820dc8;hpb=2945edfe752782d2528af21bdbd3bbfef4cd51ca diff --git a/src/cli/babeltrace2.c b/src/cli/babeltrace2.c index ad211fa2..ad8ec4b7 100644 --- a/src/cli/babeltrace2.c +++ b/src/cli/babeltrace2.c @@ -1899,7 +1899,7 @@ int cmd_run_ctx_init(struct cmd_run_ctx *ctx, struct bt_config *cfg) bt_graph_add_interrupter(ctx->graph, the_interrupter); add_listener_status = bt_graph_add_source_component_output_port_added_listener( - ctx->graph, graph_source_output_port_added_listener, NULL, ctx, + ctx->graph, graph_source_output_port_added_listener, ctx, NULL); if (add_listener_status != BT_GRAPH_ADD_LISTENER_STATUS_OK) { BT_CLI_LOGE_APPEND_CAUSE( @@ -1908,7 +1908,7 @@ int cmd_run_ctx_init(struct cmd_run_ctx *ctx, struct bt_config *cfg) } add_listener_status = bt_graph_add_filter_component_output_port_added_listener( - ctx->graph, graph_filter_output_port_added_listener, NULL, ctx, + ctx->graph, graph_filter_output_port_added_listener, ctx, NULL); if (add_listener_status != BT_GRAPH_ADD_LISTENER_STATUS_OK) { BT_CLI_LOGE_APPEND_CAUSE(