summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-25 08:35:44 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-25 12:15:02 +0200
commit97b1776cb6f56a112fe16e747caaad7473c6bb73 (patch)
tree7afe016dac032d8198c8df2e7ad3483491968406 /source4/torture/nbench
parentb0f1921bd733e9ad4f8fef720fab2fd0ed675f12 (diff)
downloadsamba-97b1776cb6f56a112fe16e747caaad7473c6bb73.tar.gz
s4:torture: replace shm_setup() with anonymous_shared_allocate()
metze
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r--source4/torture/nbench/nbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c
index ca186d007b2..c9b369e8618 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);