summaryrefslogtreecommitdiff
path: root/libc/stdlib/unlockpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/unlockpt.c')
-rw-r--r--libc/stdlib/unlockpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/unlockpt.c b/libc/stdlib/unlockpt.c
index 5dfea15d7..3f99c1c0b 100644
--- a/libc/stdlib/unlockpt.c
+++ b/libc/stdlib/unlockpt.c
@@ -32,7 +32,7 @@ unlockpt (int fd)
int save_errno = errno;
int unlock = 0;
- if (ioctl (fd, TIOCSPTLCK, &unlock))
+ if (__ioctl (fd, TIOCSPTLCK, &unlock))
{
if (errno == EINVAL)
{