lib: create_packet_message(): make assertion message less convoluted
[babeltrace.git] / lib / graph / message / packet.c
index fe660531d9c4f58014de46eee49d586ec421b41b..94047895e127cab7f42ba376a439b8d65b378a6e 100644 (file)
@@ -110,9 +110,8 @@ struct bt_message *create_packet_message(
         */
        BT_ASSERT_PRE((with_cs && packet_has_default_clock_snapshot) ||
                (!with_cs && !packet_has_default_clock_snapshot),
-               "Creating a packet message with a default clock snapshot, but without "
-               "a default clock class, or without a default clock snapshot, "
-               "but with a default clock class: ",
+               "Unexpected stream class configuration when creating "
+               "a packet beginning or end message: ",
                "%![stream-]+s, %![sc-]+S, with-cs=%d, "
                "cs-val=%" PRIu64,
                stream, stream_class, with_cs, raw_value);
This page took 0.022959 seconds and 4 git commands to generate.