aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-11-12 13:21:01 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-12 13:22:57 -0500
commit68f96c0c889b55bf62eee98e859cb686f8850188 (patch)
tree4ddc529b4eac68361b5f2066843b68337a189a83
parentcb9382e5a94e54d0356d730954396c746ae66d6e (diff)
tracing/fastboot: fix perlcritic warning
Impact: cleanup Fix the following warning from the perl syntax checking tool perlcritic. This tool is a lint like tool that checks for perl best practices. Loop iterator is not lexical at line 113, column 1. See page 108 of PBP. (Severity: 5) Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--scripts/bootgraph.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootgraph.pl b/scripts/bootgraph.pl
index d2c61efc216f..a8635a10fef2 100644
--- a/scripts/bootgraph.pl
+++ b/scripts/bootgraph.pl
@@ -109,8 +109,8 @@ my $stylecounter = 0;
109my %rows; 109my %rows;
110my $rowscount = 1; 110my $rowscount = 1;
111my @initcalls = sort { $start{$a} <=> $start{$b} } keys(%start); 111my @initcalls = sort { $start{$a} <=> $start{$b} } keys(%start);
112my $key; 112
113foreach $key (@initcalls) { 113foreach my $key (@initcalls) {
114 my $duration = $end{$key} - $start{$key}; 114 my $duration = $end{$key} - $start{$key};
115 115
116 if ($duration >= $threshold) { 116 if ($duration >= $threshold) {