summaryrefslogtreecommitdiff
path: root/source/tests/shared_mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests/shared_mmap.c')
-rw-r--r--source/tests/shared_mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tests/shared_mmap.c b/source/tests/shared_mmap.c
index aad5e2e3397..fcef75d0d61 100644
--- a/source/tests/shared_mmap.c
+++ b/source/tests/shared_mmap.c
@@ -30,7 +30,7 @@ main()
close(fd);
- if (sys_fork() == 0) {
+ if (fork() == 0) {
fd = open(DATA,O_RDWR);
if (fd == -1) exit(1);