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 8b2e14f..ce14479 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;