summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-11-21 18:21:56 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-11-21 18:21:56 +0000
commitb9ec5c20db70cb2d07e069d43dfde762793098b0 (patch)
treebf5ff3cf9b0f4cd4b7ec2a85b5fc3ce4edf6a537
parent9c6132720f2446887a15a08271dd8704b2f31893 (diff)
return -1 for mmap stub, not 0; mrg@netbsd.org
-rw-r--r--sys/arch/pmax/dev/rcons.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/pmax/dev/rcons.c b/sys/arch/pmax/dev/rcons.c
index 9ac3b6a1330..d7002e2b271 100644
--- a/sys/arch/pmax/dev/rcons.c
+++ b/sys/arch/pmax/dev/rcons.c
@@ -364,6 +364,7 @@ rconspoll(dev, events, p)
int events;
struct proc *p;
{
+
return (ttselect(dev, events, p));
}
@@ -374,7 +375,8 @@ rconsmmap (dev, off, prot)
int off;
int prot;
{
- return 0;
+
+ return -1;
}
void