X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Flib%2Flib-logging.c;h=8766e4463ef2058f2d30ee1339a7d3a5f9a672d6;hp=4085cd26f6a8885c80a513543f46cb2ba6a384c2;hb=6375b9429f8332f3eacc2ec795aa1924c73d9cc8;hpb=dbc37715597584e302c55ed61b95562db95df9ac diff --git a/src/lib/lib-logging.c b/src/lib/lib-logging.c index 4085cd26..8766e446 100644 --- a/src/lib/lib-logging.c +++ b/src/lib/lib-logging.c @@ -1057,7 +1057,7 @@ static inline void format_component_class(char **buf_ch, bool extended, char tmp_prefix[TMP_PREFIX_LEN]; BUF_APPEND(", %stype=%s, %sname=\"%s\"", - PRFIELD(bt_component_class_type_string(comp_class->type)), + PRFIELD(bt_common_component_class_type_string(comp_class->type)), PRFIELD_GSTRING(comp_class->name)); if (comp_class->description) { @@ -1335,7 +1335,7 @@ static inline void format_error_cause(char **buf_ch, bool extended, if (comp_class_id) { BUF_APPEND(", %scomp-cls-type=%s, %scomp-cls-name=\"%s\", " "%splugin-name=\"%s\"", - PRFIELD(bt_component_class_type_string( + PRFIELD(bt_common_component_class_type_string( comp_class_id->type)), PRFIELD_GSTRING(comp_class_id->name), PRFIELD_GSTRING(comp_class_id->plugin_name));