summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2004-09-26 01:15:38 +0000
committersimokawa <simokawa@FreeBSD.org>2004-09-26 01:15:38 +0000
commitfa427e74bdf99eade4b6f7f7f634a10c7f608639 (patch)
tree48f1765439c4282586f68accd342f883e46b1a4e /sys/dev/dcons
parent3fdc820b8bdabeeb3ae48f1261095bc128a77423 (diff)
downloadFreeBSD-src-fa427e74bdf99eade4b6f7f7f634a10c7f608639.zip
FreeBSD-src-fa427e74bdf99eade4b6f7f7f634a10c7f608639.tar.gz
Invalidate dcons buffer on shutdown.
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r--sys/dev/dcons/dcons.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c
index 004a30e..284a3b0 100644
--- a/sys/dev/dcons/dcons.c
+++ b/sys/dev/dcons/dcons.c
@@ -726,6 +726,7 @@ dcons_modevent(module_t mode, int type, void *data)
break;
case MOD_SHUTDOWN:
+ dg.buf->magic = 0;
break;
default:
err = EOPNOTSUPP;
OpenPOWER on IntegriCloud