diff options
Diffstat (limited to 'mdk-stage1/dietlibc/lib/cfgetospeed.c')
-rw-r--r-- | mdk-stage1/dietlibc/lib/cfgetospeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/dietlibc/lib/cfgetospeed.c b/mdk-stage1/dietlibc/lib/cfgetospeed.c index 4e392a239..4d70888f7 100644 --- a/mdk-stage1/dietlibc/lib/cfgetospeed.c +++ b/mdk-stage1/dietlibc/lib/cfgetospeed.c @@ -2,5 +2,5 @@ #include <sys/types.h> speed_t cfgetospeed(struct termios *termios_p) { - return termios_p->c_ospeed; + return ((termios_p->c_iflag & (CBAUD|CBAUDEX))); } |