diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20040124 | ||
2 | - (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com | ||
3 | |||
1 | 20040123 | 4 | 20040123 |
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. */ |