Fix: lib: handle BT_FUNC_STATUS_NOT_FOUND in bt_plugin_so_create_all_from_sections
[babeltrace.git] / src / ctf-writer / resolve.c
index 578af1c5322a2845c2587e5e185ba87c70189f0f..daa2b32b7ee1ec1ba78a2d43d33f972244031273 100644 (file)
@@ -18,7 +18,6 @@
 #include <babeltrace2-ctf-writer/field-types.h>
 #include <babeltrace2-ctf-writer/object.h>
 #include <babeltrace2-ctf-writer/stream-class.h>
-#include <babeltrace2/types.h>
 
 #include "common/macros.h"
 #include "common/assert.h"
@@ -1049,7 +1048,7 @@ int resolve_sequence_or_variant_type(struct bt_ctf_field_type_common *type,
                ret = bt_ctf_field_type_common_variant_set_tag_field_path(
                        type, target_field_path);
                if (ret) {
-                       BT_LOGW("Cannot set varaint field type's tag field path: "
+                       BT_LOGW("Cannot set variant field type's tag field path: "
                                "ret=%d, ft-addr=%p, path=\"%s\", target-field-path=\"%s\"",
                                ret, type, pathstr,
                                target_field_path_pretty_str);
@@ -1059,7 +1058,7 @@ int resolve_sequence_or_variant_type(struct bt_ctf_field_type_common *type,
                ret = bt_ctf_field_type_common_variant_set_tag_field_type(
                        type, target_type);
                if (ret) {
-                       BT_LOGW("Cannot set varaint field type's tag field type: "
+                       BT_LOGW("Cannot set variant field type's tag field type: "
                                "ret=%d, ft-addr=%p, path=\"%s\", target-field-path=\"%s\"",
                                ret, type, pathstr,
                                target_field_path_pretty_str);
This page took 0.02355 seconds and 4 git commands to generate.