X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41acb535492710d42da81b0878fa602bdeaa4bd5..0ca1291c2f63ca6235f4b4885c48413a900aade4:/tools/tesh/tesh.c?ds=sidebyside diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index e441b89701..cd963991e7 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -227,7 +227,7 @@ int main(int argc, char *argv[]) exit(1); } char *eq = strchr(argv[i+1], '='); - xbt_assert1(eq,"The argument of --setenv must contain a '=' (got %s instead)",argv[i+1]); + xbt_assert(eq,"The argument of --setenv must contain a '=' (got %s instead)",argv[i+1]); char *key = bprintf("%.*s", (int) (eq - argv[i+1]), argv[i+1]); xbt_dict_set(env, key, xbt_strdup(eq + 1), xbt_free_f); XBT_INFO("setting environment variable '%s' to '%s'", key, eq+1);