diff options
Diffstat (limited to 'source/lib/smbrun.c')
-rw-r--r-- | source/lib/smbrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/smbrun.c b/source/lib/smbrun.c index 8d666980b38..81dfc10dfb1 100644 --- a/source/lib/smbrun.c +++ b/source/lib/smbrun.c @@ -124,7 +124,7 @@ int smbrun(char *cmd,char *outfile,BOOL shared) CatchChildLeaveStatus(); - if ((pid=fork()) < 0) { + if ((pid=sys_fork()) < 0) { DEBUG(0,("smbrun: fork failed with error %s\n", strerror(errno) )); CatchChild(); return errno; |