X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1bfdc9a38c22af6a9becf133be154a2fa2bc6589..9c0a87eb220aaf35c5ef164f4c240cc6e86d5c3a:/teshsuite/xbt/graphxml_usage/graphxml_usage.c diff --git a/teshsuite/xbt/graphxml_usage/graphxml_usage.c b/teshsuite/xbt/graphxml_usage/graphxml_usage.c index 7c4fe73c33..2a1f6f0d08 100644 --- a/teshsuite/xbt/graphxml_usage/graphxml_usage.c +++ b/teshsuite/xbt/graphxml_usage/graphxml_usage.c @@ -80,7 +80,7 @@ void test(char *graph_file) buf = xbt_new0(char, n * 20); for (i = 0; i < n; i++) { for (j = 0; j < n; j++) { - sprintf(buf + strlen(buf), "%e\t", adj[i * n + j]); + sprintf(buf + strlen(buf), "%6.3f\t", adj[i * n + j]); } XBT_INFO("%s", buf); buf[0] = '\000';