OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- adds several config-options to allow for turning off certain features
[uclinux-h8/uClibc.git]
/
libutil
/
openpty.c
diff --git
a/libutil/openpty.c
b/libutil/openpty.c
index
9a65e56
..
5f58476
100644
(file)
--- a/
libutil/openpty.c
+++ b/
libutil/openpty.c
@@
-106,7
+106,7
@@
openpty (int *amaster, int *aslave, char *name, struct termios *termp,
#endif
int master, slave;
- master =
getpt (
);
+ master =
posix_openpt (O_RDWR
);
if (master == -1)
return -1;