X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/65a82850aed70ea445e7015b31cf159fdc2de927..b4b78f6684f68475ec9c7b63af21f733ff04a435:/examples/msg/cloud/bound.c?ds=sidebyside diff --git a/examples/msg/cloud/bound.c b/examples/msg/cloud/bound.c index e721f3ac98..ee5fc4971a 100644 --- a/examples/msg/cloud/bound.c +++ b/examples/msg/cloud/bound.c @@ -54,9 +54,9 @@ static void launch_worker(msg_host_t host, const char *pr_name, double computati { char **argv = xbt_new(char *, 5); argv[0] = xbt_strdup(pr_name); - argv[1] = bprintf("%lf", computation_amount); + argv[1] = bprintf("%f", computation_amount); argv[2] = bprintf("%d", use_bound); - argv[3] = bprintf("%lf", bound); + argv[3] = bprintf("%f", bound); argv[4] = NULL; MSG_process_create_with_arguments(pr_name, worker_main, NULL, host, 4, argv);