summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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