aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/unlockpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/unlockpt.c')
-rw-r--r--sysdeps/unix/bsd/unlockpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/unlockpt.c b/sysdeps/unix/bsd/unlockpt.c
index 3de46ee..b25231c 100644
--- a/sysdeps/unix/bsd/unlockpt.c
+++ b/sysdeps/unix/bsd/unlockpt.c
@@ -34,7 +34,7 @@ unlockpt (fd)
{
char buf[PTYNAMELEN];
- if (ptsname_r (fd, buf, PTYNAMELEN))
+ if (__ptsname_r (fd, buf, PTYNAMELEN))
return -1;
return revoke (buf);