- (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com

This commit is contained in:
Damien Miller 2004-01-24 13:50:39 +11:00
parent fcb6220da0
commit 6814411b3e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
20040124
- (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com
20040123
- (djm) Do pam_session processing for systems with HAVE_LOGIN_CAP; from
ralf.hack AT pipex.net; ok dtucker@
@ -1726,4 +1729,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.3186 2004/01/24 02:35:16 tim Exp $
$Id: ChangeLog,v 1.3187 2004/01/24 02:50:39 djm Exp $

View File

@ -151,7 +151,7 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp,
for (i = 0; i < highpty; i++) {
snprintf(ptbuf, sizeof(ptbuf), "/dev/pty/%03d", i);
snprintf(ttbuf, sideof(ttbuf), "/dev/ttyp%03d", i);
snprintf(ttbuf, sizeof(ttbuf), "/dev/ttyp%03d", i);
if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1)
continue;
/* Open the slave side. */