about summary refs log tree commit diff
path: root/termios
diff options
context:
space:
mode:
Diffstat (limited to 'termios')
-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