Add some missing parentheses so that moea_bat_mapped() actually works.

Submitted by:	alc
MFC after:	3 days
This commit is contained in:
nwhitehorn 2010-10-31 15:07:09 +00:00
parent 1685738e37
commit eb3515b958

View File

@ -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);
/*