about summary refs log tree commit diff
path: root/termios/tcgetsid.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-29 13:19:45 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-29 13:19:45 +0000
commit344c67b616bf39d33700cc77ff5c6ec2d5ba295c (patch)
tree243c04d08b911c2de7a6e1e6848e5fc35060f10b /termios/tcgetsid.c
parent619cba73db0d12e4cd94bfe5f3c3d7be3e82f006 (diff)
downloadglibc-344c67b616bf39d33700cc77ff5c6ec2d5ba295c.tar.gz
glibc-344c67b616bf39d33700cc77ff5c6ec2d5ba295c.tar.xz
glibc-344c67b616bf39d33700cc77ff5c6ec2d5ba295c.zip
Update.
1999-04-29  Ulrich Drepper  <drepper@cygnus.com>

	* nss/getXXbyYY_r.c: Include assert.h.
	* nss/getXXbyYY.c: Likewise.
Diffstat (limited to 'termios/tcgetsid.c')
-rw-r--r--termios/tcgetsid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/termios/tcgetsid.c b/termios/tcgetsid.c
index aab72f9a62..f4cc6a7a9e 100644
--- a/termios/tcgetsid.c
+++ b/termios/tcgetsid.c
@@ -30,9 +30,9 @@ tcgetsid (fd)
   pid_t pgrp;
   pid_t sid;
 #ifdef TIOCGSID
-  static int tiocgsid_does_not_works;
+  static int tiocgsid_does_not_work;
 
-  if (! tiocgsid_does_not_works)
+  if (! tiocgsid_does_not_work)
     {
       int serrno = errno;
       int sid;
@@ -41,7 +41,7 @@ tcgetsid (fd)
 	{
 	  if (errno == EINVAL)
 	    {
-	      tiocgsid_does_not_works = 1;
+	      tiocgsid_does_not_work = 1;
 	      __set_errno (serrno);
 	    }
 	  else