Changeset 30ba752 in rtems for c/src/lib/libc/cfiospeed.c


Ignore:
Timestamp:
Sep 21, 1998, 12:01:26 AM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
04bc5d9
Parents:
6bd0fe4
Message:

Patch from Eric Norum:

I fixed the problems noted by Victor Vengerov.

1) Fix typo in cfsetispeed().
2) In rtems_termios_open, ensure that args->iop->data1 is set before calling
device-specific open routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/cfiospeed.c

    r6bd0fe4 r30ba752  
    4848                return -1;
    4949        }
    50         tp->c_cflag = (tp->c_cflag & ~CBAUD) | (speed * (CIBAUD / CBAUD));
     50        tp->c_cflag = (tp->c_cflag & ~CIBAUD) | (speed * (CIBAUD / CBAUD));
    5151        return 0;
    5252}
Note: See TracChangeset for help on using the changeset viewer.