From b9be02df0c18b284f201736274d7608abc16c13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 8 Nov 2004 15:05:10 +0000 Subject: [PATCH] vm_area_for() did not work correctly; apparently, I had chosen the wrong area_for() like implementation to copy from... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9863 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/vm/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/core/vm/vm.c b/src/kernel/core/vm/vm.c index d3e06e5f38..bab24374a6 100755 --- a/src/kernel/core/vm/vm.c +++ b/src/kernel/core/vm/vm.c @@ -1658,7 +1658,7 @@ vm_area_for(aspace_id aid, addr_t address) if (area->id == RESERVED_REGION_ID) continue; - if (address >= area->base && address <= area->base + area->size) { + if (address >= area->base && address < area->base + area->size) { id = area->id; break; }