A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove useless length modifier 'l' in %l[efg] for printf.
[simgrid.git]
/
examples
/
msg
/
cloud
/
bound.c
diff --git
a/examples/msg/cloud/bound.c
b/examples/msg/cloud/bound.c
index
e721f3a
..
ee5fc49
100644
(file)
--- 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);
{
char **argv = xbt_new(char *, 5);
argv[0] = xbt_strdup(pr_name);
- argv[1] = bprintf("%
l
f", computation_amount);
+ argv[1] = bprintf("%f", computation_amount);
argv[2] = bprintf("%d", use_bound);
argv[2] = bprintf("%d", use_bound);
- argv[3] = bprintf("%
l
f", bound);
+ argv[3] = bprintf("%f", bound);
argv[4] = NULL;
MSG_process_create_with_arguments(pr_name, worker_main, NULL, host, 4, argv);
argv[4] = NULL;
MSG_process_create_with_arguments(pr_name, worker_main, NULL, host, 4, argv);