summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/pty.c')
-rw-r--r--sysdeps/generic/pty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/pty.c b/sysdeps/generic/pty.c
index a539a9bb8b..dda2125836 100644
--- a/sysdeps/generic/pty.c
+++ b/sysdeps/generic/pty.c
@@ -82,10 +82,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);
}
@@ -94,7 +94,7 @@ openpty(amaster, aslave, name, termp, winp)
}
}
}
- errno = ENOENT; /* out of ptys */
+ __set_errno (ENOENT); /* out of ptys */
return (-1);
}
@@ -114,7 +114,7 @@ forkpty(amaster, name, termp, winp)
case -1:
return (-1);
case 0:
- /*
+ /*
* child
*/
(void) close(master);