summaryrefslogtreecommitdiffstats
path: root/source3/modules/vfs_preopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_preopen.c')
-rw-r--r--source3/modules/vfs_preopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c
index 3d7f6c1b038..3540d34c4fa 100644
--- a/source3/modules/vfs_preopen.c
+++ b/source3/modules/vfs_preopen.c
@@ -224,7 +224,7 @@ static NTSTATUS preopen_init_helper(struct preopen_helper *h)
return status;
}
- h->pid = sys_fork();
+ h->pid = fork();
if (h->pid == -1) {
return map_nt_error_from_unix(errno);