summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2008-08-20 18:55:24 +0000
committermiod <miod@openbsd.org>2008-08-20 18:55:24 +0000
commitd89d446c86cf7e94f7a5b11679e5814c3862c1bf (patch)
treeb54f243ead80dbc9a447338323775b9905959434
parentDon't copy interesting parts of struct scsi_xfer to a read only internal (diff)
downloadwireguard-openbsd-d89d446c86cf7e94f7a5b11679e5814c3862c1bf.tar.xz
wireguard-openbsd-d89d446c86cf7e94f7a5b11679e5814c3862c1bf.zip
Do not mask bit 0x80 in dzcngetc() - we run serial consoles in 8N1.
-rw-r--r--sys/arch/vax/dec/dzcons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/dec/dzcons.c b/sys/arch/vax/dec/dzcons.c
index f4b37997632..3e40c7c70f8 100644
--- a/sys/arch/vax/dec/dzcons.c
+++ b/sys/arch/vax/dec/dzcons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dzcons.c,v 1.2 2008/08/20 16:31:41 miod Exp $ */
+/* $OpenBSD: dzcons.c,v 1.3 2008/08/20 18:55:24 miod Exp $ */
/* $NetBSD: dz_ibus.c,v 1.15 1999/08/27 17:50:42 ragge Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
@@ -149,7 +149,7 @@ dzcngetc(dev)
s = spltty();
do {
- c = dzcngetc_internal(line) & 0x7f;
+ c = dzcngetc_internal(line);
} while (c == 17 || c == 19); /* ignore XON/XOFF */
splx(s);