diff options
author | Damien Miller <djm@mindrot.org> | 2004-01-24 13:50:39 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-01-24 13:50:39 +1100 |
commit | 6814411b3edb2b8076042200b8e1c93b686f77cf (patch) | |
tree | 430cc8fa1d5ba1f8eda73be6425cea417fe8c07c /openbsd-compat/bsd-openpty.c | |
parent | fcb6220da091b94c310a063b7ee939c5d5cd69e2 (diff) |
- (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com
Diffstat (limited to 'openbsd-compat/bsd-openpty.c')
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c index 0a3c5e21..512fb845 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, 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. */ |