kernel/vm: Add missing parentheses.

No functional change.
This commit is contained in:
Augustin Cavalier
2024-12-13 14:20:48 -05:00
parent 7aafc79ba4
commit 8308c16a5c
+1 -1
View File
@@ -2946,7 +2946,7 @@ vm_copy_area(team_id team, const char* name, void** _address,
for (size_t i = 0; i < bytes; i++) {
if ((targetPageProtections[i]
& (B_WRITE_AREA | B_WRITE_AREA << 4)) != 0) {
& (B_WRITE_AREA | (B_WRITE_AREA << 4))) != 0) {
writableCopy = true;
break;
}