From: Roland McGrath Date: Fri, 23 Apr 1993 00:50:11 +0000 (+0000) Subject: Formerly unix/bsd/sun/sunos4/speed.c.~2~ X-Git-Tag: glibc-2.16-ports-before-merge~4295 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1c8a6e7221a8120a572ec51887397fdba441388;p=thirdparty%2Fglibc.git Formerly unix/bsd/sun/sunos4/speed.c.~2~ --- diff --git a/sysdeps/unix/bsd/sun/sunos4/speed.c b/sysdeps/unix/bsd/sun/sunos4/speed.c index 8b2e14f04af..ce144793594 100644 --- a/sysdeps/unix/bsd/sun/sunos4/speed.c +++ b/sysdeps/unix/bsd/sun/sunos4/speed.c @@ -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;