getty: don't try to detect parity on local lines
(Joakim Tjernlund <Joakim.Tjernlund at transmode.se>)

diff --git a/loginutils/getty.c b/loginutils/getty.c
index 31230c9..f033b5a 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -435,7 +435,7 @@
 
 			/* Do parity bit handling. */
 			ascval = c & 0177;
-			if (c != ascval) {       /* "parity" bit on ? */
+			if (!(op->flags & F_LOCAL) && (c != ascval)) {       /* "parity" bit on ? */
 				bits = 1;
 				mask = 1;
 				while (mask & 0177) {