浏览代码

Fixed printf in larson.

Ioannis Koutras 13 年之前
父节点
当前提交
cca01d8c96
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/larson.c

+ 1 - 1
examples/larson.c

@@ -253,7 +253,7 @@ static void runthreads(long sleep_cnt, int min_threads, int max_threads, int chp
         printf("%6.3f", duration  ) ;
         printf("%6.3f", rate_n/rate_1 ) ;
         printf("%8.0f", sum_allocs/duration ) ;
-        printf(" %6.3f %.3f", (double)(used_space/(1024*1024)), (used_space/reqd_space)
+        printf(" %6.3f %.3f", (double)(used_space/(1024*1024)), (used_space/reqd_space));
         printf("\n") ;
 
         Sleep(5000L) ; // wait 5 sec for old threads to die