diff options
Diffstat (limited to 'lib/libutil/pty.c')
-rw-r--r-- | lib/libutil/pty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index 4443f08..a6d08f6 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -81,10 +81,10 @@ openpty(amaster, aslave, name, termp, winp) if (name) strcpy(name, line); if (termp) - (void) tcsetattr(slave, + (void) tcsetattr(slave, TCSAFLUSH, termp); if (winp) - (void) ioctl(slave, TIOCSWINSZ, + (void) ioctl(slave, TIOCSWINSZ, (char *)winp); return (0); } @@ -111,7 +111,7 @@ forkpty(amaster, name, termp, winp) case -1: return (-1); case 0: - /* + /* * child */ (void) close(master); |