From e0e8528e61c9446dba0d3a661c4decd9dcf1cfb2 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 23 Sep 2008 04:44:32 +0000 Subject: Fix uninitialized variable. --- sys/arch/mvme88k/dev/vx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/mvme88k/dev') 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); } -- cgit v1.2.3