diff options
Diffstat (limited to 'cpukit/libcsupport/src/cfgetospeed.c')
-rw-r--r-- | cpukit/libcsupport/src/cfgetospeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/cfgetospeed.c b/cpukit/libcsupport/src/cfgetospeed.c index 399d64fc34..96446c7823 100644 --- a/cpukit/libcsupport/src/cfgetospeed.c +++ b/cpukit/libcsupport/src/cfgetospeed.c @@ -33,6 +33,6 @@ speed_t cfgetospeed( const struct termios *tp ) { - return tp->c_cflag & CBAUD; + return tp->c_ospeed; } #endif |