summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-01 18:53:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-01 18:53:01 +0000
commitf83e51fce16843b3f432d7928350faa57865d84f (patch)
tree6e706189f0001c485d7fc61c100722807304d97e /sys
parent3dc43ee854f25682f7ff41f95d7f726a03866f64 (diff)
repair burner after X, as seen on misc@; from grange@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wsdisplay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index e327bdaf6ab..f4e75d1d948 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.46 2002/06/08 02:43:56 drahn Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.47 2002/07/01 18:53:00 mickey Exp $ */
/* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */
/*
@@ -1100,8 +1100,8 @@ wsdisplay_internal_ioctl(sc, scr, cmd, data, flag, p)
}
else {
/* reenable the burner after exiting from X */
- if (sc->sc_burnout)
- timeout_add(&sc->sc_burner, sc->sc_burnout);
+ if (!sc->sc_burnman)
+ wsdisplay_burn(sc, sc->sc_burnflags);
/*
* wsmoused cohabitation with X-Window support