summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-09-20 09:48:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:43 -0500
commit5bfd4d2007dab209818ee6335e3cdf6fce66bc0e (patch)
tree35eb16633e48185e43cd870f70394561624bc624 /source3/nsswitch/winbindd_dual.c
parent78c554474a00eff0388242266ebe166db56d2800 (diff)
downloadsamba-5bfd4d2007dab209818ee6335e3cdf6fce66bc0e.tar.gz
samba-5bfd4d2007dab209818ee6335e3cdf6fce66bc0e.tar.bz2
samba-5bfd4d2007dab209818ee6335e3cdf6fce66bc0e.zip
r2440: Use sys_fork instead of fork for the dual daemon so that we get the
correct debug pid in the logfiles. Volker (This used to be commit 410d2c3ebba71434ad92d4572fec64eea7b952cd)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r--source3/nsswitch/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index a9796afa36..d4ec6e586d 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -155,7 +155,7 @@ void do_dual_daemon(void)
dual_daemon_pipe = fdpair[1];
state.sock = fdpair[0];
- if (fork() != 0) {
+ if (sys_fork() != 0) {
close(fdpair[0]);
return;
}