summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wscons.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wscons/wscons.c')
-rw-r--r--sys/dev/wscons/wscons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wscons.c b/sys/dev/wscons/wscons.c
index 1bc38095b02..1a2b203c54a 100644
--- a/sys/dev/wscons/wscons.c
+++ b/sys/dev/wscons/wscons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons.c,v 1.4 1997/01/24 19:58:30 niklas Exp $ */
+/* $OpenBSD: wscons.c,v 1.5 1997/08/22 22:25:11 deraadt Exp $ */
/* $NetBSD: wscons.c,v 1.10 1996/12/05 01:39:47 cgd Exp $ */
/*
@@ -390,7 +390,7 @@ wsconsmmap(dev, offset, prot)
{
struct wscons_softc *sc = wscons_cd.cd_devs[WSCUNIT(dev)];
- if (sc->sc_ioctl != NULL)
+ if (sc->sc_mmap != NULL)
return (*sc->sc_mmap)(sc->sc_dev.dv_parent, offset, prot);
else
return -1;