summaryrefslogtreecommitdiff
path: root/source3/torture/nbio.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-25 08:33:31 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-25 12:15:01 +0200
commite0bc1650805159645ae2217a81fbf92d656f0e34 (patch)
tree8af07cd4b67c6fbcdd72b928b1b7e70ba72e6ffc /source3/torture/nbio.c
parentc66a45d3f29570a907ef1f9a3e499eb19e804e7e (diff)
downloadsamba-e0bc1650805159645ae2217a81fbf92d656f0e34.tar.gz
samba-e0bc1650805159645ae2217a81fbf92d656f0e34.tar.bz2
samba-e0bc1650805159645ae2217a81fbf92d656f0e34.zip
s3:torture: replace shm_setup() with anonymous_shared_allocate()
metze
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r--source3/torture/nbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index 4cf4cc7549..0c918c11ba 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -76,7 +76,7 @@ void nb_alarm(int ignore)
void nbio_shmem(int n)
{
nprocs = n;
- children = (struct children *)shm_setup(sizeof(*children) * nprocs);
+ children = (struct children *)anonymous_shared_allocate(sizeof(*children) * nprocs);
if (!children) {
printf("Failed to setup shared memory!\n");
exit(1);