Fix an MPS test

* mps/test/conerr/32.c: Use mps_pool_create_k instead of the obsolete
mps_pool_create.
This commit is contained in:
Helmut Eller 2026-03-08 18:58:36 +01:00
parent 723f4276b9
commit 8b5b813553

View file

@ -22,7 +22,11 @@ static void test(void *stack_pointer)
cdie(mps_arena_create(&arena, mps_arena_class_vm(), mmqaArenaSIZE), "create arena");
cdie(mps_pool_create(&pool, arena, mps_class_mfs(), 64), "create pool");
MPS_ARGS_BEGIN(args) {
MPS_ARGS_ADD(args, MPS_KEY_MFS_UNIT_SIZE, 64);
cdie(mps_pool_create_k(&pool, arena, mps_class_mfs(), args),
"create pool");
} MPS_ARGS_END(args);
cdie(mps_ap_create(&ap, pool, mps_rank_exact()), "create ap");