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
This commit is contained in:
Axel Dörfler
2004-11-08 15:05:10 +00:00
parent 534d8fbcc7
commit b9be02df0c
+1 -1
View File
@@ -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;
}