X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fvisitor-parent-links.c;h=5afcb0e6e19e6e21724baf0e169b1ca3d04f6799;hp=c0145c843f8016947cb6c418bf7bc23372e0c158;hb=50f6fce8d00bc6b70a814a0be3b71570fb65d070;hpb=49a43e69c6ca442956f894029d0d8e2acae8b041 diff --git a/src/plugins/ctf/common/metadata/visitor-parent-links.c b/src/plugins/ctf/common/metadata/visitor-parent-links.c index c0145c84..5afcb0e6 100644 --- a/src/plugins/ctf/common/metadata/visitor-parent-links.c +++ b/src/plugins/ctf/common/metadata/visitor-parent-links.c @@ -38,7 +38,7 @@ int ctf_visitor_unary_expression(int depth, struct ctf_node *node, case UNARY_DOTDOTDOT: break; default: - _BT_COMP_LOGE_LINENO(node->lineno, + _BT_COMP_LOGE_APPEND_CAUSE_LINENO(node->lineno, "Unknown expression link type: type=%d\n", node->u.unary_expression.link); return -EINVAL; @@ -60,7 +60,7 @@ int ctf_visitor_unary_expression(int depth, struct ctf_node *node, case UNARY_UNKNOWN: default: - _BT_COMP_LOGE_LINENO(node->lineno, + _BT_COMP_LOGE_APPEND_CAUSE_LINENO(node->lineno, "Unknown expression link type: type=%d\n", node->u.unary_expression.link); return -EINVAL; @@ -106,7 +106,7 @@ int ctf_visitor_type_specifier(int depth, struct ctf_node *node, case TYPESPEC_UNKNOWN: default: - _BT_COMP_LOGE_LINENO(node->lineno, + _BT_COMP_LOGE_APPEND_CAUSE_LINENO(node->lineno, "Unknown type specifier: type=%d\n", node->u.field_class_specifier.type); return -EINVAL; @@ -164,7 +164,7 @@ int ctf_visitor_field_class_declarator(int depth, struct ctf_node *node, break; case TYPEDEC_UNKNOWN: default: - _BT_COMP_LOGE_LINENO(node->lineno, + _BT_COMP_LOGE_APPEND_CAUSE_LINENO(node->lineno, "Unknown type declarator: type=%d\n", node->u.field_class_declarator.type); return -EINVAL; @@ -490,7 +490,7 @@ int ctf_visitor_parent_links(int depth, struct ctf_node *node, case NODE_UNKNOWN: default: - _BT_COMP_LOGE_LINENO(node->lineno, + _BT_COMP_LOGE_APPEND_CAUSE_LINENO(node->lineno, "Unknown node type: type=%d\n", node->type); return -EINVAL; }