summaryrefslogtreecommitdiff
path: root/sshpty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshpty.c')
-rw-r--r--sshpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshpty.c b/sshpty.c
index 4747ceaf4..50b1f2ba3 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -343,7 +343,7 @@ pty_make_controlling_tty(int *ttyfd, const char *ttyname)
343 if (fd < 0) 343 if (fd < 0)
344 error("open /dev/tty failed - could not set controlling tty: %.100s", 344 error("open /dev/tty failed - could not set controlling tty: %.100s",
345 strerror(errno)); 345 strerror(errno));
346 else 346 else
347 close(fd); 347 close(fd);
348#endif /* _UNICOS */ 348#endif /* _UNICOS */
349} 349}