summaryrefslogtreecommitdiff
path: root/libc/stdlib/unix_grantpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/unix_grantpt.c')
-rw-r--r--libc/stdlib/unix_grantpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/unix_grantpt.c b/libc/stdlib/unix_grantpt.c
index c8d70ad64..3dce71b6f 100644
--- a/libc/stdlib/unix_grantpt.c
+++ b/libc/stdlib/unix_grantpt.c
@@ -106,7 +106,7 @@ grantpt (int fd)
if (pts_name (fd, &buf, sizeof (_buf)))
return -1;
- if (_xstat (_STAT_VER, buf, &st) < 0)
+ if (__xstat (_STAT_VER, buf, &st) < 0)
goto cleanup;
/* Make sure that we own the device. */