Typo: occured -> occurred
[babeltrace.git] / src / plugins / lttng-utils / debug-info / debug-info.c
index 7b6ea383548b2e8296cfe2fd844bdf5988d27fe9..39e59db4f4fa854b6a0ac1133728b0fe3e6d95da 100644 (file)
@@ -213,7 +213,7 @@ struct debug_info_source *debug_info_source_create_from_bin(
                        g_strdup_printf("%"PRId64, src_loc->line_no);
                if (!debug_info_src->line_no) {
                        BT_COMP_LOGE_APPEND_CAUSE(self_comp,
-                               "Error occured when setting `line_no` field.");
+                               "Error occurred when setting `line_no` field.");
                        goto error;
                }
 
@@ -1984,7 +1984,6 @@ BT_HIDDEN
 bt_message_iterator_class_initialize_method_status debug_info_msg_iter_init(
                bt_self_message_iterator *self_msg_iter,
                bt_self_message_iterator_configuration *config,
-               bt_self_component *self_comp,
                bt_self_component_port_output *self_port)
 {
        bt_message_iterator_class_initialize_method_status status;
@@ -1995,6 +1994,8 @@ bt_message_iterator_class_initialize_method_status debug_info_msg_iter_init(
        struct debug_info_msg_iter *debug_info_msg_iter = NULL;
        gchar *debug_info_field_name;
        int ret;
+       bt_self_component *self_comp =
+               bt_self_message_iterator_borrow_component(self_msg_iter);
        bt_logging_level log_level = bt_component_get_logging_level(
                bt_self_component_as_component(self_comp));
 
This page took 0.023828 seconds and 4 git commands to generate.