Print int with %d, not %zu.
[pintos-anon] / src / tests / threads / list.c
index 3704af93c68b1c8497b3ff161feef35377bfe09b..2300bc353f170e4ec4287adbd1b597101ce22e47 100644 (file)
@@ -41,7 +41,7 @@ test (void)
     {
       int repeat;
 
-      printf (" %zu", size);
+      printf (" %d", size);
       for (repeat = 0; repeat < 10; repeat++) 
         {
           static struct value values[MAX_SIZE * 4];
@@ -104,6 +104,7 @@ test (void)
     }
   
   printf (" done\n");
+  printf ("list: PASS\n");
 }
 
 /* Shuffles the CNT elements in ARRAY into random order. */