From: Philippe Proulx Date: Tue, 13 Feb 2018 23:39:28 +0000 (-0500) Subject: lib: logging: change warnings from BT_LOGE to BT_LOGW X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=631234da6f052f12bb537087a54f3eea095605f1 lib: logging: change warnings from BT_LOGE to BT_LOGW Signed-off-by: Philippe Proulx --- diff --git a/lib/ctf-ir/field-types.c b/lib/ctf-ir/field-types.c index feb7a62b..62f2412b 100644 --- a/lib/ctf-ir/field-types.c +++ b/lib/ctf-ir/field-types.c @@ -1273,7 +1273,7 @@ bt_field_type_enumeration_find_mappings_by_name( iter = bt_field_type_enumeration_find_mappings_type( type, ITERATOR_BY_NAME); if (!iter) { - BT_LOGE("Cannot create enumeration field type mapping iterator: " + BT_LOGW("Cannot create enumeration field type mapping iterator: " "ft-addr=%p, mapping-name=\"%s\"", type, name); goto error; } @@ -1362,7 +1362,7 @@ bt_field_type_enumeration_find_mappings_by_signed_value( iter = bt_field_type_enumeration_find_mappings_type( type, ITERATOR_BY_SIGNED_VALUE); if (!iter) { - BT_LOGE("Cannot create enumeration field type mapping iterator: " + BT_LOGW("Cannot create enumeration field type mapping iterator: " "ft-addr=%p, value=%" PRId64, type, value); goto error; } @@ -1391,7 +1391,7 @@ bt_field_type_enumeration_find_mappings_by_unsigned_value( iter = bt_field_type_enumeration_find_mappings_type( type, ITERATOR_BY_UNSIGNED_VALUE); if (!iter) { - BT_LOGE("Cannot create enumeration field type mapping iterator: " + BT_LOGW("Cannot create enumeration field type mapping iterator: " "ft-addr=%p, value=%" PRIu64, type, value); goto error; } @@ -2496,7 +2496,7 @@ struct bt_field_type *bt_field_type_variant_get_field_type_from_tag( iter = bt_field_enumeration_get_mappings(tag); ret = bt_field_type_enumeration_mapping_iterator_next(iter); if (!iter || ret) { - BT_LOGE("Cannot get enumeration field type mapping iterator from enumeration field: " + BT_LOGW("Cannot get enumeration field type mapping iterator from enumeration field: " "enum-field-addr=%p", tag); goto end; }