From ba245ceee7f488df591e62e79a0544267fd19cb7 Mon Sep 17 00:00:00 2001 From: schnorr Date: Thu, 5 Apr 2012 14:57:43 +0200 Subject: [PATCH 1/1] [trace] we need to close the file --- examples/msg/tracing/user_variables.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1