lib: internal: replace BT_ASSERT_PRE* -> BT_ASSERT_POST* where applicable
[babeltrace.git] / src / lib / graph / graph.h
index b3b178c647bf4e9ae9b49aa2af3bab96067b9762..f22b5800c7fe2bc2bc441a1156ba2242ea3f58ec 100644 (file)
@@ -256,8 +256,8 @@ enum bt_graph_status bt_graph_configure(struct bt_graph *graph)
                                bt_self_component_status_string(comp_status));
 #endif
 
-#ifdef BT_ASSERT_PRE
-                       BT_ASSERT_PRE(comp_status == BT_SELF_COMPONENT_STATUS_OK ||
+#ifdef BT_ASSERT_POST
+                       BT_ASSERT_POST(comp_status == BT_SELF_COMPONENT_STATUS_OK ||
                                comp_status == BT_SELF_COMPONENT_STATUS_ERROR ||
                                comp_status == BT_SELF_COMPONENT_STATUS_NOMEM,
                                "Unexpected returned status: status=%s",
This page took 0.02409 seconds and 4 git commands to generate.