Fix findVirtualRegionBeforeAddr
This commit is contained in:
parent
1895781213
commit
b8c4c782de
@ -50,7 +50,7 @@ static struct uAddrVirtualReg *findVirtualRegionBeforeAddr(struct uAddrSpace *as
|
||||
|
||||
list_foreach_named(as->listVirtualReg, reg, idx, prevInAddrSpace, nextInAddrSpace)
|
||||
{
|
||||
if (uaddr > reg->addr)
|
||||
if (uaddr < reg->addr)
|
||||
break;
|
||||
prev = reg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user