Skip to content

Commit 499ca5c

Browse files
author
philippe
committed
Fix wrong operator (detected by Coverity)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14434 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent a839470 commit 499ca5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coregrind/m_scheduler/scheduler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ VgSchedReturnCode VG_(scheduler) ( ThreadId tid )
12461246
} else {
12471247
VG_(debugLog)(0,"sched",
12481248
"WARNING: pthread stack cache cannot be disabled!\n");
1249-
VG_(clo_sim_hints) &= !SimHint2S(SimHint_no_nptl_pthread_stackcache);
1249+
VG_(clo_sim_hints) &= ~SimHint2S(SimHint_no_nptl_pthread_stackcache);
12501250
/* Remove SimHint_no_nptl_pthread_stackcache from VG_(clo_sim_hints)
12511251
to avoid having a msg for all following threads. */
12521252
}

0 commit comments

Comments
 (0)