s4:torture: replace shm_setup() with anonymous_shared_allocate()
[samba.git] / source4 / torture / nbench / nbio.c
index ca186d007b28e7c43f64fb59442e2987d2ba8f38..c9b369e86182e797111ed1651526994f16d22968 100644 (file)
@@ -314,7 +314,7 @@ next:
 void nbio_shmem(int n, int t_timelimit, int t_warmup)
 {
        nprocs = n;
-       children = shm_setup(sizeof(*children) * nprocs);
+       children = anonymous_shared_allocate(sizeof(*children) * nprocs);
        if (!children) {
                printf("Failed to setup shared memory!\n");
                nb_exit(1);