lib: assign a unique ID to each pre/postcond. and report it on failure
[babeltrace.git] / src / lib / graph / message / message-iterator-inactivity.c
index f6769aff52edba063d0ecaecf6b6e83f8f7512ac..89302ff23cf7fd65adabcb0be18c8a5e67f954a8 100644 (file)
@@ -86,7 +86,8 @@ bt_message_message_iterator_inactivity_borrow_clock_snapshot_const(
        struct bt_message_message_iterator_inactivity *inactivity = (void *) msg;
 
        BT_ASSERT_PRE_DEV_MSG_NON_NULL(msg);
-       BT_ASSERT_PRE_DEV_MSG_HAS_TYPE(msg,
+       BT_ASSERT_PRE_DEV_MSG_HAS_TYPE("message", msg,
+               "message-iterator-inactivity",
                BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
        return inactivity->cs;
 }
This page took 0.023406 seconds and 4 git commands to generate.