summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-22 22:25:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-22 22:25:12 +0000
commite4a3d7c138089f32129f3331233474ad41e9f7cd (patch)
tree957cba1adb4285c996d942026ade1700a3a7ea5c /sys/arch/alpha
parent1808f6957d7307cbef4f46a23b91b24b1ce0319f (diff)
do not check for sc_ioctl in mmap call
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/wscons/wscons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/wscons/wscons.c b/sys/arch/alpha/wscons/wscons.c
index 1bc38095b02..1a2b203c54a 100644
--- a/sys/arch/alpha/wscons/wscons.c
+++ b/sys/arch/alpha/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;