about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ttyname_r.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-07 08:16:52 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-07 08:16:52 +0000
commit407dc7a070d3ed86eeecc3b9e6a6dec11f961493 (patch)
tree0b602a074918569d5ee8658b9d8cc5d0e5585d50 /sysdeps/unix/sysv/linux/ttyname_r.c
parentaad20af475f8e3e1d7d878e82d82d433706ffaff (diff)
downloadglibc-407dc7a070d3ed86eeecc3b9e6a6dec11f961493.tar.gz
glibc-407dc7a070d3ed86eeecc3b9e6a6dec11f961493.tar.xz
glibc-407dc7a070d3ed86eeecc3b9e6a6dec11f961493.zip
(Tools for Compilation): Update required texinfo version.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ttyname_r.c')
-rw-r--r--sysdeps/unix/sysv/linux/ttyname_r.c4
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 ae5a029e65..3255ce3e00 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;
 	}
     }