aboutsummaryrefslogtreecommitdiff
path: root/toys/other/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/setsid.c')
-rw-r--r--toys/other/setsid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/setsid.c b/toys/other/setsid.c
index 83db044d..95698260 100644
--- a/toys/other/setsid.c
+++ b/toys/other/setsid.c
@@ -19,7 +19,7 @@ config SETSID
void setsid_main(void)
{
- while (setsid()<0) if (xvfork()) _exit(0);
+ while (setsid()<0) if (XVFORK()) _exit(0);
if (toys.optflags) {
setpgid(0, 0);
tcsetpgrp(0, getpid());