From: Arnaud Giersch Date: Tue, 31 Jan 2012 15:07:02 +0000 (+0100) Subject: Fix default value for contexts/nthreads (only the help message is affected). X-Git-Tag: exp_20120216~97^2~16 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/adf35dcadfd3b7c53d51a13f4accba378ea5965e Fix default value for contexts/nthreads (only the help message is affected). --- diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index cef9716ce1..617bffc175 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -464,7 +464,7 @@ void surf_config_init(int *argc, char **argv) default_value_int = 1; xbt_cfg_register(&_surf_cfg_set, "contexts/nthreads", "Number of parallel threads used to execute user contexts", - xbt_cfgelm_int, &default_value, 1, 1, + xbt_cfgelm_int, &default_value_int, 1, 1, _surf_cfg_cb_contexts_nthreads, NULL); /* minimal number of user contexts to be run in parallel */