]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Formerly unix/bsd/sun/sunos4/speed.c.~2~
authorRoland McGrath <roland@gnu.org>
Fri, 23 Apr 1993 00:50:11 +0000 (00:50 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 23 Apr 1993 00:50:11 +0000 (00:50 +0000)
sysdeps/unix/bsd/sun/sunos4/speed.c

index 8b2e14f04afe9255d1083236432bb88ab426601d..ce1447935943b0eef38a93958d9ad3df7d0678b2 100644 (file)
@@ -70,7 +70,7 @@ DEFUN(cfsetospeed, (termios_p, speed),
       return -1;
     }
 
-  for (i = 0; i < sizeof (speeds) / sizeof (speed[0]); ++i)
+  for (i = 0; i < sizeof (speeds) / sizeof (speeds[0]); ++i)
     if (speeds[i] == speed)
       {
        termios_p->c_cflag &= ~CBAUD;
@@ -95,7 +95,7 @@ DEFUN(cfsetispeed, (termios_p, speed),
       return -1;
     }
 
-  for (i = 0; i < sizeof (speeds) / sizeof (speed[0]); ++i)
+  for (i = 0; i < sizeof (speeds) / sizeof (speeds[0]); ++i)
     if (speeds[i] == speed)
       {
        termios_p->c_cflag &= ~CIBAUD;