From 3538e191ab21f6d24444d01f7ad243dc170bc953 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 14 Dec 2011 09:22:43 +0000 Subject: 2011-12-14 Sebastian Huber * libcsupport/src/termios_setinitialbaud.c: Fixed typo. --- cpukit/ChangeLog | 4 ++++ cpukit/libcsupport/src/termios_setinitialbaud.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f3409c02f1..d523ea318e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2011-12-14 Sebastian Huber + + * libcsupport/src/termios_setinitialbaud.c: Fixed typo. + 2011-12-14 Sebastian Huber * libcsupport/include/rtems/termiostypes.h, diff --git a/cpukit/libcsupport/src/termios_setinitialbaud.c b/cpukit/libcsupport/src/termios_setinitialbaud.c index 4d7ec558fe..b8ce26c392 100644 --- a/cpukit/libcsupport/src/termios_setinitialbaud.c +++ b/cpukit/libcsupport/src/termios_setinitialbaud.c @@ -23,7 +23,7 @@ int rtems_termios_set_initial_baud( int rv = 0; tcflag_t c_cflag_baud = rtems_termios_number_to_baud(baud); - if ( c_cflag_baud == 0 ) { + if ( c_cflag_baud != 0 ) { tcflag_t cbaud = CBAUD; tty->termios.c_cflag = (tty->termios.c_cflag & ~cbaud) | c_cflag_baud; -- cgit v1.2.3