diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-11-12 13:21:01 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-12 13:22:57 -0500 |
commit | 68f96c0c889b55bf62eee98e859cb686f8850188 (patch) | |
tree | 4ddc529b4eac68361b5f2066843b68337a189a83 /scripts | |
parent | cb9382e5a94e54d0356d730954396c746ae66d6e (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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bootgraph.pl | 4 |
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; | |||
109 | my %rows; | 109 | my %rows; |
110 | my $rowscount = 1; | 110 | my $rowscount = 1; |
111 | my @initcalls = sort { $start{$a} <=> $start{$b} } keys(%start); | 111 | my @initcalls = sort { $start{$a} <=> $start{$b} } keys(%start); |
112 | my $key; | 112 | |
113 | foreach $key (@initcalls) { | 113 | foreach 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) { |