|
From: <sv...@va...> - 2014-09-02 18:34:34
|
Author: philippe
Date: Tue Sep 2 18:34:25 2014
New Revision: 14434
Log:
Fix wrong operator (detected by Coverity)
Modified:
trunk/coregrind/m_scheduler/scheduler.c
Modified: trunk/coregrind/m_scheduler/scheduler.c
==============================================================================
--- trunk/coregrind/m_scheduler/scheduler.c (original)
+++ trunk/coregrind/m_scheduler/scheduler.c Tue Sep 2 18:34:25 2014
@@ -1246,7 +1246,7 @@
} else {
VG_(debugLog)(0,"sched",
"WARNING: pthread stack cache cannot be disabled!\n");
- VG_(clo_sim_hints) &= !SimHint2S(SimHint_no_nptl_pthread_stackcache);
+ VG_(clo_sim_hints) &= ~SimHint2S(SimHint_no_nptl_pthread_stackcache);
/* Remove SimHint_no_nptl_pthread_stackcache from VG_(clo_sim_hints)
to avoid having a msg for all following threads. */
}
|