summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--openbsd-compat/bsd-openpty.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dc9147f26..580fecbf6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120040124
2 - (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com
3
120040123 420040123
2 - (djm) Do pam_session processing for systems with HAVE_LOGIN_CAP; from 5 - (djm) Do pam_session processing for systems with HAVE_LOGIN_CAP; from
3 ralf.hack AT pipex.net; ok dtucker@ 6 ralf.hack AT pipex.net; ok dtucker@
@@ -1726,4 +1729,4 @@
1726 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1729 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1727 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1730 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1728 1731
1729$Id: ChangeLog,v 1.3186 2004/01/24 02:35:16 tim Exp $ 1732$Id: ChangeLog,v 1.3187 2004/01/24 02:50:39 djm Exp $
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c
index 0a3c5e211..512fb8451 100644
--- a/openbsd-compat/bsd-openpty.c
+++ b/openbsd-compat/bsd-openpty.c
@@ -151,7 +151,7 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp,
151 151
152 for (i = 0; i < highpty; i++) { 152 for (i = 0; i < highpty; i++) {
153 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty/%03d", i); 153 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty/%03d", i);
154 snprintf(ttbuf, sideof(ttbuf), "/dev/ttyp%03d", i); 154 snprintf(ttbuf, sizeof(ttbuf), "/dev/ttyp%03d", i);
155 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) 155 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1)
156 continue; 156 continue;
157 /* Open the slave side. */ 157 /* Open the slave side. */