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
Fix build with paranoid flags: remove redundant '\0' in string.
[simgrid.git]
/
src
/
instr
/
jedule
/
jedule_output.c
diff --git
a/src/instr/jedule/jedule_output.c
b/src/instr/jedule/jedule_output.c
index
cafd545
..
7cb7af0
100644
(file)
--- a/
src/instr/jedule/jedule_output.c
+++ b/
src/instr/jedule/jedule_output.c
@@
-86,9
+86,9
@@
static void get_hierarchy_string(jed_simgrid_container_t container, char *outbuf
xbt_dynar_foreach(hier_list, iter, number) {
if( iter != length-1 ) {
- sprintf(buf, "%d.
\0
", number);
+ sprintf(buf, "%d.", number);
} else {
- sprintf(buf, "%d
\0
", number);
+ sprintf(buf, "%d", number);
}
strcat(outbuf, buf);
}