diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-02 01:52:28 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-02 01:52:28 +0000 |
commit | 450f92eb7165131ff3fdb2f80ec2fc65254f5ccb (patch) | |
tree | 4a0260d6717520379b98af80419feda2ca7cea29 /libc/stdlib/getpt.c | |
parent | 6fd3ac79613c9e1832513b0f614860be2735993f (diff) | |
download | uClibc-alpine-450f92eb7165131ff3fdb2f80ec2fc65254f5ccb.tar.bz2 uClibc-alpine-450f92eb7165131ff3fdb2f80ec2fc65254f5ccb.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/stdlib/getpt.c')
-rw-r--r-- | libc/stdlib/getpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/getpt.c b/libc/stdlib/getpt.c index 71d7d6c5f..c219adb24 100644 --- a/libc/stdlib/getpt.c +++ b/libc/stdlib/getpt.c @@ -55,7 +55,7 @@ getpt (void) if (!have_no_dev_ptmx) #endif { - fd = open (_PATH_DEVPTMX, O_RDWR); + fd = __open (_PATH_DEVPTMX, O_RDWR); if (fd != -1) { #if defined __ASSUME_DEVPTS__ @@ -79,7 +79,7 @@ getpt (void) /* If /dev/pts is not mounted then the UNIX98 pseudo terminals are not usable. */ - close (fd); + __close (fd); #if !defined __UNIX98PTY_ONLY__ have_no_dev_ptmx = 1; #endif |