summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-09-23 22:44:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-09-23 22:44:20 +0000
commit65d019ee1a8d7b82200083b7663301bbd26870fc (patch)
tree6283de897a58a9df153865f44fbe7e2b642dc674 /sys/arch/sparc64/dev
parent9606ef23d5ca9676784ba103a2f87f033c46fad9 (diff)
One more uninitialized local. Yawn.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/vcons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vcons.c b/sys/arch/sparc64/dev/vcons.c
index 7c79d752ba4..154ba60b147 100644
--- a/sys/arch/sparc64/dev/vcons.c
+++ b/sys/arch/sparc64/dev/vcons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vcons.c,v 1.2 2008/07/07 14:38:42 kettenis Exp $ */
+/* $OpenBSD: vcons.c,v 1.3 2008/09/23 22:44:19 miod Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
@@ -132,7 +132,7 @@ vconsopen(dev_t dev, int flag, int mode, struct proc *p)
struct vcons_softc *sc;
struct tty *tp;
int unit = minor(dev);
- int error, setuptimeout;
+ int error, setuptimeout = 0;
if (unit > vcons_cd.cd_ndevs)
return (ENXIO);