X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b6797e494ca445d5894ccb5098c2df4a25e2d3ea..569bbeaf0cf00247d78bfb670b9f2d8c2a3f9ba8:/src/msg/environment.c diff --git a/src/msg/environment.c b/src/msg/environment.c index 9d6bbd8c37..4ed51ca99a 100644 --- a/src/msg/environment.c +++ b/src/msg/environment.c @@ -5,9 +5,9 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include"private.h" -#include"xbt/sysdep.h" -#include "xbt/error.h" +#include "private.h" +#include "xbt/sysdep.h" +#include "xbt/log.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(environment, msg, "Logging specific to MSG (environment)"); @@ -66,8 +66,9 @@ void MSG_create_environment(const char *file) { surf_timer_resource_init(file); /* which model do you want today? */ - xbt_cfg_get_string (_msg_cfg_set, "surf_workstation_model", - &workstation_model_name); + workstation_model_name = xbt_cfg_get_string (_msg_cfg_set, "surf_workstation_model"); + + DEBUG1("Model : %s", workstation_model_name); if (!strcmp(workstation_model_name,"KCCFLN05")) { surf_workstation_resource_init_KCCFLN05(file); } else if (!strcmp(workstation_model_name,"CLM03")) {