about summary refs log tree commit diff
path: root/misc/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/daemon.c')
-rw-r--r--misc/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/daemon.c b/misc/daemon.c
index dddb765daf..8cffdde1ce 100644
--- a/misc/daemon.c
+++ b/misc/daemon.c
@@ -44,7 +44,7 @@ daemon(nochdir, noclose)
 {
 	int fd;
 
-	switch (fork()) {
+	switch (__fork()) {
 	case -1:
 		return (-1);
 	case 0: