diff options
author | Colin Cross <ccross@google.com> | 2010-08-21 17:27:02 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-09-29 17:49:45 -0700 |
commit | eb31fe8d3ced722d8074bcbca242ae942e07bb3f (patch) | |
tree | a034a09e2ef8e864bce27ee194ee07da424e95da /kernel | |
parent | 43d0a32b3928c12a9d7654102724f3c0b5072ac2 (diff) |
wakelock: Fix operator precedence bug
Change-Id: I21366ace371d1b8f4684ddbe4ea8d555a926ac21
Signed-off-by: Colin Cross <ccross@google.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/wakelock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/wakelock.c b/kernel/power/wakelock.c index ca48bb8d316b..d3d7fd682c00 100644 --- a/kernel/power/wakelock.c +++ b/kernel/power/wakelock.c @@ -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; } } |