Add some missing parentheses so that moea_bat_mapped() actually works.
Submitted by: alc MFC after: 3 days
This commit is contained in:
parent
1685738e37
commit
eb3515b958
@ -2430,7 +2430,7 @@ moea_bat_mapped(int idx, vm_offset_t pa, vm_size_t size)
|
||||
/*
|
||||
* Return immediately if not a valid mapping
|
||||
*/
|
||||
if (!battable[idx].batu & BAT_Vs)
|
||||
if (!(battable[idx].batu & BAT_Vs))
|
||||
return (EINVAL);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user