diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/getpt.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/getpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/getpt.c b/sysdeps/unix/sysv/linux/getpt.c index 3c0b7a9399..0f5949d1bc 100644 --- a/sysdeps/unix/sysv/linux/getpt.c +++ b/sysdeps/unix/sysv/linux/getpt.c @@ -43,7 +43,7 @@ __getpt () /* The new way: */ if (have_dev_ptmx) { - fd = open ("/dev/ptmx", O_RDWR); + fd = __open ("/dev/ptmx", O_RDWR); if (fd != -1) return fd; else @@ -64,7 +64,7 @@ __getpt () for (j = __ptyname2; *j; ++j) { namebuf[9] = *j; - fd = open (namebuf, O_RDWR); + fd = __open (namebuf, O_RDWR); if (fd != -1) return fd; if (errno != EIO) |