diff options
author | Francesco Valente <fvalen@redhat.com> | 2008-03-25 23:47:07 +0000 |
---|---|---|
committer | Francesco Valente <fvalen@redhat.com> | 2008-03-25 23:47:07 +0000 |
commit | 2281479ffa3daf2b8f76ad59439c63f5418aeae4 (patch) | |
tree | 2e81f75a26a51393a4debfe553b568c0be6de286 | |
parent | 2bb85a1b760cf905f0cccb7dea32e6e134f3eb00 (diff) | |
parent | befe1b40a84e7ac00a18db6b3efa0061e0ee73cf (diff) | |
download | initscripts-2281479ffa3daf2b8f76ad59439c63f5418aeae4.tar initscripts-2281479ffa3daf2b8f76ad59439c63f5418aeae4.tar.gz initscripts-2281479ffa3daf2b8f76ad59439c63f5418aeae4.tar.bz2 initscripts-2281479ffa3daf2b8f76ad59439c63f5418aeae4.tar.xz initscripts-2281479ffa3daf2b8f76ad59439c63f5418aeae4.zip |
Merge branch 'master' of ssh://git.fedorahosted.org/git/initscripts
-rw-r--r-- | src/console_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_check.c b/src/console_check.c index e188ebe5..595012ff 100644 --- a/src/console_check.c +++ b/src/console_check.c @@ -52,7 +52,7 @@ struct speeds speed_map[] = int termcmp(struct termios *a, struct termios *b) { if (a->c_iflag != b->c_iflag || a->c_oflag != b->c_oflag || a->c_cflag != b->c_cflag || a->c_lflag != b->c_lflag || - a->c_ispeed != b->c_ispeed || a->c_ospeed != b->c_ospeed) + cfgetispeed(a) != cfgetispeed(b) || cfgetospeed(a) != cfgetospeed(b)) return 1; return memcmp(a->c_cc, b->c_cc, sizeof(a->c_cc)); } |