getty: fix "ifdef CMSPAR"
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jan 2011 15:20:54 +0000 (16:20 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jan 2011 15:20:54 +0000 (16:20 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/getty.c

index 4dfe579c1c114a9236af7cf85d937aa3be50af2a..34f72c4655db4f7d797564f39cef5f4ff0c4ccfb 100644 (file)
@@ -269,7 +269,7 @@ static void termios_init(int speed)
                 * Odd parity (else even)
                 */
                | CSTOPB | PARENB | PARODD
-#ifdef CBAUDEX
+#ifdef CMSPAR
                | CMSPAR  /* mark or space parity */
 #endif
                | CBAUD   /* (output) baud rate */