浏览代码

src/core/perfmodel/perfmodel_bus.c: use %lf to write a double

Nathalie Furmento 11 年之前
父节点
当前提交
81c3403407
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/perfmodel/perfmodel_bus.c

+ 1 - 1
src/core/perfmodel/perfmodel_bus.c

@@ -1146,7 +1146,7 @@ static void write_bus_latency_file_content(void)
 
 			if (dst)
 				fputc('\t', f);
-			fprintf(f, "%f", latency);
+			fprintf(f, "%lf", latency);
 		}
 
 		fprintf(f, "\n");