about summary refs log tree commit diff
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 7388c98523..ca4e7c654e 100644
--- a/sysdeps/unix/bsd/unlockpt.c
+++ b/sysdeps/unix/bsd/unlockpt.c
@@ -32,5 +32,5 @@ unlockpt (int fd)
   /* BSD doesn't have a lock, but it does have `revoke'.  */
   if (__ptsname_r (fd, buf, sizeof (buf)))
     return -1;
-  return revoke (buf);
+  return __revoke (buf);
 }