about summary refs log tree commit diff
path: root/Src/Modules/clone.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-07-24 14:01:54 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-07-24 14:01:54 +0000
commit14810d6df13e0564a606b74e4c4e918e80862e25 (patch)
tree0e24a6c6b0226a90bdf8398ce94b60fdc9a87b0e /Src/Modules/clone.c
parentd6d4a3abfc84f0940e663cd69537789a039a7056 (diff)
downloadzsh-14810d6df13e0564a606b74e4c4e918e80862e25.tar.gz
zsh-14810d6df13e0564a606b74e4c4e918e80862e25.tar.xz
zsh-14810d6df13e0564a606b74e4c4e918e80862e25.zip
zsh-3.1.6-test-3 dot-zsh-199907241534
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 e2cfea8d9..d9dd6c316 100644
--- a/Src/Modules/clone.c
+++ b/Src/Modules/clone.c
@@ -61,7 +61,7 @@ bin_clone(char *nam, char **args, char *ops, int func)
 	    zwarnnam(nam, "failed to create new session: %e", NULL, errno);
 #endif
 #ifdef TIOCNOTTY
-	    if (ioctl(SHTTY, TIOCNOTTY))
+	    if (ioctl(SHTTY, TIOCNOTTY, 0))
 		zwarnnam(nam, "%e", NULL, errno);
 	    setpgrp(0L, mypid);
 #endif