From 97b1776cb6f56a112fe16e747caaad7473c6bb73 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 25 Jul 2012 08:35:44 +0200 Subject: s4:torture: replace shm_setup() with anonymous_shared_allocate() metze --- source4/torture/nbench/nbio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/nbench/nbio.c') diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index ca186d007b..c9b369e861 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -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); -- cgit