X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cb150044a0e9683b33f936309746f56f39fb35a9..4f8a13eb934c096f43986fbebf392cd3aa67d73c:/examples/msg/cloud/bound.c diff --git a/examples/msg/cloud/bound.c b/examples/msg/cloud/bound.c index 2d4a6b606c..ee5fc4971a 100644 --- a/examples/msg/cloud/bound.c +++ b/examples/msg/cloud/bound.c @@ -1,4 +1,5 @@ -/* Copyright (c) 2007-2013. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2014. The SimGrid Team. + * All rights reserved. */ /* 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. */ @@ -53,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);