summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index c23b91c14..04b7ee465 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -187,16 +187,14 @@ static const struct Speedtab speedtab[] = {
{2400, B2400},
{4800, B4800},
{9600, B9600},
-#ifdef B19200
+#ifdef B19200
{19200, B19200},
-#endif
-#ifdef B38400
- {38400, B38400},
-#endif
-#ifdef EXTA
+#elif defined(EXTA)
{19200, EXTA},
#endif
-#ifdef EXTB
+#ifdef B38400
+ {38400, B38400},
+#elif defined(EXTB)
{38400, EXTB},
#endif
#ifdef B57600