summaryrefslogtreecommitdiff
path: root/sshpty.c
diff options
context:
space:
mode:
authordjm <djm>2003-04-09 10:59:48 +0000
committerdjm <djm>2003-04-09 10:59:48 +0000
commit411917d70b48eac07467b4f6d3e425026db4e917 (patch)
treef3daac52afa68b4d67db59327f0bb3dfcf85b1d7 /sshpty.c
parentc71e9e59b6d3ab8706dd5251f33061739329218b (diff)
downloadopenssh-411917d70b48eac07467b4f6d3e425026db4e917.tar.gz
*** empty log message ***
Diffstat (limited to 'sshpty.c')
-rw-r--r--sshpty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshpty.c b/sshpty.c
index d28947f6..0cac10d3 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -226,7 +226,7 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)
}
/* set tty modes to a sane state for broken clients */
if (tcgetattr(*ptyfd, &tio) < 0)
- log("Getting tty modes for pty failed: %.100s", strerror(errno));
+ logit("Getting tty modes for pty failed: %.100s", strerror(errno));
else {
tio.c_lflag |= (ECHO | ISIG | ICANON);
tio.c_oflag |= (OPOST | ONLCR);
@@ -234,7 +234,7 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)
/* Set the new modes for the terminal. */
if (tcsetattr(*ptyfd, TCSANOW, &tio) < 0)
- log("Setting tty modes for pty failed: %.100s", strerror(errno));
+ logit("Setting tty modes for pty failed: %.100s", strerror(errno));
}
return 1;