wakelock: Fix operator precedence bug

Change-Id: I21366ace371d1b8f4684ddbe4ea8d555a926ac21
Signed-off-by: Colin Cross <ccross@google.com>
This commit is contained in:
Colin Cross 2010-08-21 17:27:02 -07:00 committed by Colin Cross
commit eb31fe8d3c

View file

@ -222,7 +222,7 @@ static void print_active_locks(int type)
pr_info("wake lock %s, expired\n", lock->name);
} else {
pr_info("active wake lock %s\n", lock->name);
if (!debug_mask & DEBUG_EXPIRE)
if (!(debug_mask & DEBUG_EXPIRE))
print_expired = false;
}
}