lib: add discarded packets message
[babeltrace.git] / lib / graph / message / message.c
index 989e0e44f11abc682fe2ee9860914aa46022811b..2d30d04a7b5df5f586d139307c72fcba3671ad4b 100644 (file)
@@ -36,7 +36,7 @@ void bt_message_init(struct bt_message *message,
                bt_object_release_func release,
                struct bt_graph *graph)
 {
-       BT_ASSERT(type >= 0 && type <= BT_MESSAGE_TYPE_DISCARDED_EVENTS);
+       BT_ASSERT(type >= 0 && type <= BT_MESSAGE_TYPE_DISCARDED_PACKETS);
        message->type = type;
        bt_object_init_shared(&message->base, release);
        message->graph = graph;
This page took 0.023766 seconds and 4 git commands to generate.