A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[trace] we need to close the file
[simgrid.git]
/
examples
/
msg
/
tracing
/
user_variables.c
diff --git
a/examples/msg/tracing/user_variables.c
b/examples/msg/tracing/user_variables.c
index
e249ef3
..
ea2b959
100644
(file)
--- 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;