diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/ttyname_r.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/ttyname_r.c b/sysdeps/unix/sysv/linux/ttyname_r.c index ae5a029..3255ce3 100644 --- a/sysdeps/unix/sysv/linux/ttyname_r.c +++ b/sysdeps/unix/sysv/linux/ttyname_r.c @@ -165,10 +165,6 @@ __ttyname_r (fd, buf, buflen) { __set_errno (save); ret = ENOENT; - } - else - { - __set_errno (save); dev_pts_available = 0; } } |