diff options
Diffstat (limited to 'sysdeps/unix/bsd/unlockpt.c')
-rw-r--r-- | sysdeps/unix/bsd/unlockpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/unlockpt.c b/sysdeps/unix/bsd/unlockpt.c index d771d3201e..c11ed4d23b 100644 --- a/sysdeps/unix/bsd/unlockpt.c +++ b/sysdeps/unix/bsd/unlockpt.c @@ -27,7 +27,7 @@ int unlockpt (int fd) { - char buf[sizeof (_PATH_TTY) + 2]; + char buf[1024]; /* XXX */ /* BSD doesn't have a lock, but it does have `revoke'. */ if (__ptsname_r (fd, buf, sizeof (buf))) |