X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fmessage%2Fmessage-iterator-inactivity.c;h=f6769aff52edba063d0ecaecf6b6e83f8f7512ac;hb=d5b13b9b6a434797f856547be1ca6a59f70ba530;hp=4223585d8990416281bf770193a2082b8f50d9b4;hpb=0a83319b57c7f5d1f37a8c1af9a39daf6d503122;p=babeltrace.git diff --git a/src/lib/graph/message/message-iterator-inactivity.c b/src/lib/graph/message/message-iterator-inactivity.c index 4223585d..f6769aff 100644 --- a/src/lib/graph/message/message-iterator-inactivity.c +++ b/src/lib/graph/message/message-iterator-inactivity.c @@ -45,8 +45,8 @@ struct bt_message *bt_message_message_iterator_inactivity_create( struct bt_message *ret_msg = NULL; BT_ASSERT_PRE_DEV_NO_ERROR(); - BT_ASSERT_PRE_NON_NULL(msg_iter, "Message iterator"); - BT_ASSERT_PRE_NON_NULL(clock_class, "Default clock class"); + BT_ASSERT_PRE_MSG_ITER_NON_NULL(msg_iter); + BT_ASSERT_PRE_DEF_CLK_CLS_NON_NULL(clock_class); BT_LIB_LOGD("Creating message iterator inactivity message object: " "%![iter-]+i, %![cc-]+K, value=%" PRIu64, msg_iter, clock_class, value_cycles); @@ -85,7 +85,7 @@ bt_message_message_iterator_inactivity_borrow_clock_snapshot_const( { struct bt_message_message_iterator_inactivity *inactivity = (void *) msg; - BT_ASSERT_PRE_DEV_NON_NULL(msg, "Message"); + BT_ASSERT_PRE_DEV_MSG_NON_NULL(msg); BT_ASSERT_PRE_DEV_MSG_HAS_TYPE(msg, BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY); return inactivity->cs;