summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-09-23 04:44:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-09-23 04:44:32 +0000
commite0e8528e61c9446dba0d3a661c4decd9dcf1cfb2 (patch)
treed3fbd6fdc93b3981cbf88167b755700fa5fba2e9 /sys/arch
parent9e2f2e6458ef54f3ee6f77223d1059a947982009 (diff)
Fix uninitialized variable.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme88k/dev/vx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/dev/vx.c b/sys/arch/mvme88k/dev/vx.c
index d0620f06559..c39b0717d30 100644
--- a/sys/arch/mvme88k/dev/vx.c
+++ b/sys/arch/mvme88k/dev/vx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vx.c,v 1.38 2006/07/28 21:46:02 miod Exp $ */
+/* $OpenBSD: vx.c,v 1.39 2008/09/23 04:44:31 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* All rights reserved.
@@ -957,6 +957,7 @@ ccode(struct vxsoftc *sc, int port, char c)
struct vx_info *vxt;
struct tty *tp;
+ vxt = &sc->sc_info[port];
tp = vxt->tty;
(*linesw[tp->t_line].l_rint)(c, tp);
}