Check the correct value in db_validate_address, pmap_extract returns 0 on
failure. Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
a3b3a9752c
commit
c8d372efdd
@ -119,7 +119,7 @@ db_validate_address(vm_offset_t addr)
|
||||
else
|
||||
pmap = p->p_vmspace->vm_map.pmap;
|
||||
|
||||
return (pmap_extract(pmap, addr) == FALSE);
|
||||
return (pmap_extract(pmap, addr) != 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user