From 5bfd4d2007dab209818ee6335e3cdf6fce66bc0e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 20 Sep 2004 09:48:46 +0000 Subject: 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) --- source3/nsswitch/winbindd_dual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit