summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-11-24 22:41:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-11-24 22:41:30 +0000
commit3b6fc494d6c3ea81b031d03cd56c0569869c875f (patch)
treec28734acdfb6e5c5b79e971f705bef10076e6fb4 /sys/arch
parentf74586b093236540a46233051c0822d6600cf687 (diff)
Peek at the correct location in badpaddr() - how could this go unnoticed before?
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme68k/mvme68k/machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c
index b379863b722..039cd09c5c3 100644
--- a/sys/arch/mvme68k/mvme68k/machdep.c
+++ b/sys/arch/mvme68k/mvme68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.90 2005/11/06 17:59:57 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.91 2005/11/24 22:41:29 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -898,7 +898,6 @@ badpaddr(addr, size)
v = mapiodev(p, NBPG);
if (v == NULL)
return (1);
- v += off;
x = badvaddr((vaddr_t)v + off, size);
unmapiodev(v, NBPG);
return (x);