diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-02-09 18:50:51 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-02-09 18:50:51 +0000 |
commit | 76f65767ee6bc408879a911377b7f4c332bb9663 (patch) | |
tree | 2f58adeb1b4cc0172938ae92b34c370eb04b3488 /sys/dev | |
parent | c8b7d50693466b7106a67f593af735a175a2db7b (diff) |
Fix an uninitialized variable.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/wscons/wsdisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c index cc09b6a34af..d6a5861032b 100644 --- a/sys/dev/wscons/wsdisplay.c +++ b/sys/dev/wscons/wsdisplay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsdisplay.c,v 1.10 2001/02/08 02:47:11 aaron Exp $ */ +/* $OpenBSD: wsdisplay.c,v 1.11 2001/02/09 18:50:50 aaron Exp $ */ /* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */ /* @@ -598,7 +598,7 @@ wsdisplay_common_attach(sc, console, scrdata, accessops, accesscookie) const struct wsdisplay_accessops *accessops; void *accesscookie; { - static int hookset; + static int hookset = 0; int i, start=0; #if NWSKBD > 0 struct device *dv; |