summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/clone.c2
-rw-r--r--Src/Modules/zpty.c2
2 files changed, 2 insertions, 2 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);
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index 3b8366076..02708a915 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -399,7 +399,7 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock)
 	close(master);
 	close(coprocin);
 	close(coprocout);
-	init_io();
+	init_io(NULL);
 	setsparam("TTY", ztrdup(ttystrname));
 
 	opts[INTERACTIVE] = 0;