X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fcomponent-sink.c;h=d9d33cc9ab205c6a5de9e7722c10f25e1c8e7e16;hb=d5b13b9b6a434797f856547be1ca6a59f70ba530;hp=d89b7283b13da459892080df29b7c8fc871bccde;hpb=0a83319b57c7f5d1f37a8c1af9a39daf6d503122;p=babeltrace.git diff --git a/src/lib/graph/component-sink.c b/src/lib/graph/component-sink.c index d89b7283..d9d33cc9 100644 --- a/src/lib/graph/component-sink.c +++ b/src/lib/graph/component-sink.c @@ -51,7 +51,7 @@ bt_component_sink_borrow_class_const( { struct bt_component_class *cls; - BT_ASSERT_PRE_DEV_NON_NULL(component, "Component"); + BT_ASSERT_PRE_DEV_COMP_NON_NULL(component); cls = component->parent.class; @@ -135,7 +135,7 @@ bt_bool bt_self_component_sink_is_interrupted( { struct bt_component *comp = (void *) self_comp; - BT_ASSERT_PRE_NON_NULL(comp, "Component"); + BT_ASSERT_PRE_COMP_NON_NULL(comp); return (bt_bool) bt_graph_is_interrupted( bt_component_borrow_graph(comp)); }