From: schnorr Date: Thu, 5 Apr 2012 12:57:43 +0000 (+0200) Subject: [trace] we need to close the file X-Git-Tag: v3_7~79 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ba245ceee7f488df591e62e79a0544267fd19cb7?hp=ba8d53ce5b3ce9fa14d7cd0a272c35c0033a42c5 [trace] we need to close the file --- diff --git a/examples/msg/tracing/user_variables.c b/examples/msg/tracing/user_variables.c index e249ef36c9..ea2b959bed 100644 --- a/examples/msg/tracing/user_variables.c +++ b/examples/msg/tracing/user_variables.c @@ -133,6 +133,7 @@ int main(int argc, char *argv[]) fprintf (fp, " host = {\n type = square;\n size = HDD_capacity; \n values = (HDD_utilization);\n };\n"); fprintf (fp, " link = {\n type = rhombus;\n size = bandwidth;\n };\n"); fprintf (fp, "}\n"); + fclose (fp); MSG_clean(); return 0;