|
@@ -12,7 +12,7 @@ int openpty(int *m, int *s, char *name, const struct termios *tio, const struct
|
|
*m = open("/dev/ptmx", O_RDWR|O_NOCTTY);
|
|
*m = open("/dev/ptmx", O_RDWR|O_NOCTTY);
|
|
if (ioctl(*m, TIOCSPTLCK, &n) || ioctl (*m, TIOCGPTN, &n)) {
|
|
if (ioctl(*m, TIOCSPTLCK, &n) || ioctl (*m, TIOCGPTN, &n)) {
|