X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..69eb7d834930a1c6862df9502d31a45241031e14:/tools/MSG_visualization/trace2fig.pl diff --git a/tools/MSG_visualization/trace2fig.pl b/tools/MSG_visualization/trace2fig.pl index 1e8e9eef27..668cb5eac0 100755 --- a/tools/MSG_visualization/trace2fig.pl +++ b/tools/MSG_visualization/trace2fig.pl @@ -98,16 +98,16 @@ sub read_link { sub build_cat_tree { my($root,$Cat)=@_; - my(@childs)=(); + my(@children)=(); my($cat); foreach $cat (keys %$Cat) { if($$Cat{$cat}{father} eq $root) { - push @childs, build_cat_tree($cat,$Cat); + push @children, build_cat_tree($cat,$Cat); } # print "$$Cat{$cat}{name}\t\t $Cat{$cat}{father}\n"; } - return [$root,@childs]; + return [$root,@children]; } sub build_cat_list {