Fix two bugs in the base Pintos code:
[pintos-anon] / src / tests / threads / mlfqs-fair.c
index 30282c36e32d15b0da44d074aa99093c69d3815c..f958f816460df7999873523e955ccd6a2d928354 100644 (file)
@@ -69,7 +69,7 @@ test_mlfqs_fair (int thread_cnt, int nice_min, int nice_step)
   int nice;
   int i;
 
-  ASSERT (enable_mlfqs);
+  ASSERT (thread_mlfqs);
   ASSERT (thread_cnt <= MAX_THREAD_CNT);
   ASSERT (nice_min >= -10);
   ASSERT (nice_step >= 0);