diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/ttyname_r.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/ttyname_r.c b/sysdeps/unix/sysv/linux/ttyname_r.c index 924b491..eee4d86 100644 --- a/sysdeps/unix/sysv/linux/ttyname_r.c +++ b/sysdeps/unix/sysv/linux/ttyname_r.c @@ -124,8 +124,6 @@ __ttyname_r (int fd, char *buf, size_t buflen) __set_errno (EBADF); return EBADF; } - if (ret == -1 && errno == EACCES) - return EACCES; if (!__isatty (fd)) { |