summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/grf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/grf.c b/sys/arch/hp300/dev/grf.c
index ce31812cbd1..81559ec8aff 100644
--- a/sys/arch/hp300/dev/grf.c
+++ b/sys/arch/hp300/dev/grf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf.c,v 1.7 1998/03/06 17:24:11 millert Exp $ */
+/* $OpenBSD: grf.c,v 1.8 2001/01/31 22:39:41 jason Exp $ */
/* $NetBSD: grf.c,v 1.25 1997/04/02 22:37:30 scottr Exp $ */
/*
@@ -680,7 +680,7 @@ iommap(dev, addrp)
if (grfdebug & (GDB_MMAP|GDB_IOMAP))
printf("iommap(%d): addr %p\n", curproc->p_pid, *addrp);
#endif
- return(EINVAL);
+ return(-1);
}
int
@@ -785,7 +785,7 @@ grflckmmap(dev, addrp)
printf("grflckmmap(%d): addr %p\n",
p->p_pid, *addrp);
#endif
- return(EINVAL);
+ return(-1);
}
int