datarace: fix build error
authorBrian Norris <banorris@uci.edu>
Sat, 7 Jul 2012 07:05:34 +0000 (00:05 -0700)
committerBrian Norris <banorris@uci.edu>
Sat, 7 Jul 2012 07:05:34 +0000 (00:05 -0700)
datarace.cc

index 5856e770b326eece6dee601dbf346e32b140ed07..0fd263cc08cf946a8f3806d02614d1a80593a275 100644 (file)
@@ -170,7 +170,7 @@ void fullRaceCheckRead(thread_id_t thread, uint64_t * shadow, ClockVector *currC
                                read races. Note that readClock can't actually be zero, so it
                                could be optimized.  */
 
-               if (clock_may_race(currClock, thread, readClock, readThread) {
+               if (clock_may_race(currClock, thread, readClock, readThread)) {
                        /* Still need this read in vector */
                        if (copytoindex!=i) {
                                record->readClock[copytoindex]=record->readClock[i];