diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-07 17:01:34 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-07 17:01:34 -0800 |
commit | 1d4e61ced443349b67243574c74228ca0bb30250 (patch) | |
tree | e42d0a4e7074c979aaf5c40919a835bf5480bb7c /scripts | |
parent | b671ecf9d866f850467b1d065a46d3b31ce9a177 (diff) | |
download | vyatta-cfg-qos-1d4e61ced443349b67243574c74228ca0bb30250.tar.gz vyatta-cfg-qos-1d4e61ced443349b67243574c74228ca0bb30250.zip |
Avoid possible confusion over variable name 'usage'
Having variable and function with same name is confusing.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-qos.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl index 1404846..41f9174 100755 --- a/scripts/vyatta-qos.pl +++ b/scripts/vyatta-qos.pl @@ -286,8 +286,8 @@ sub delete_policy { my @inuse = interfaces_using($name); if ( @inuse ) { - foreach my $usage (@inuse) { - warn "QoS policy $name used by $usage\n"; + foreach my $used (@inuse) { + warn "QoS policy $name used by $used\n"; } # can't delete active policy die "Must delete QoS policy from interfaces before deleting rules\n"; |