From ff1d96e4d80b2e39a7597b5f496538da13d910dc Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 20 Jul 2010 18:27:48 -0700 Subject: Don't mix string with format in printf Cleaner to use %d for priority here. --- lib/Vyatta/Qos/Match.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Vyatta') diff --git a/lib/Vyatta/Qos/Match.pm b/lib/Vyatta/Qos/Match.pm index 4406b98..b2b13da 100644 --- a/lib/Vyatta/Qos/Match.pm +++ b/lib/Vyatta/Qos/Match.pm @@ -105,8 +105,8 @@ sub filter { my $ip = $self->{$ipver}; next unless $ip && $$ip{dsfield}; - printf "filter add dev %s parent %x: protocol %s prio $prio", - $dev, $parent, $ipver; + printf "filter add dev %s parent %x: protocol %s prio %d", + $dev, $parent, $ipver, $prio; printf " handle %s tcindex classid %x:%x\n", $$ip{dsfield}, $parent, $classid; -- cgit v1.2.3