summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-10-30 20:27:33 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-10-30 20:27:33 (GMT)
commite504c245f7958369d53fd509c444772fb5737c82 (patch)
treef3df9b902cdab9527f4d34940fea044ed42d4bed
parent83e34ac4b574fabd54a2d1a03063b263338ef03d (diff)
downloadbusybox-e504c245f7958369d53fd509c444772fb5737c82.tar.gz
busybox-e504c245f7958369d53fd509c444772fb5737c82.tar.bz2
getty: Hurd has no CBAUD, work around that
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--loginutils/getty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index 4d52197..1f41759 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -266,7 +266,9 @@ static void init_tty_attrs(int speed)
#ifdef CMSPAR
| CMSPAR /* mark or space parity */
#endif
+#ifdef CBAUD
| CBAUD /* (output) baud rate */
+#endif
#ifdef CBAUDEX
| CBAUDEX /* (output) baud rate */
#endif