summary refs log tree commit diff
path: root/Src/Modules/clone.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/clone.c')
-rw-r--r--Src/Modules/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/clone.c b/Src/Modules/clone.c
index 5db1c9222..930429248 100644
--- a/Src/Modules/clone.c
+++ b/Src/Modules/clone.c
@@ -93,7 +93,7 @@ bin_clone(char *nam, char **args, UNUSED(Options ops), UNUSED(int func))
 	/* Clear mygrp so that acquire_pgrp() gets the new process group.
 	 * (acquire_pgrp() is called from init_io()) */
 	mypgrp = 0;
-	init_io();
+	init_io(NULL);
 	setsparam("TTY", ztrdup(ttystrname));
     }
     close(ttyfd);