diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-11 16:48:52 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-11 16:48:52 -0700 |
commit | c348cf92844ecc099dea151be3658740ecbaf440 (patch) | |
tree | f8c80b459819b52ecf77328961841f9544947126 /scripts | |
parent | 237415c05a9ab70bca8ec416a7fcdbb5dc291f20 (diff) | |
download | vyatta-cfg-qos-c348cf92844ecc099dea151be3658740ecbaf440.tar.gz vyatta-cfg-qos-c348cf92844ecc099dea151be3658740ecbaf440.zip |
Fix formatting of error message
Add newline in right spot so words don't run together.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/VyattaQosTrafficShaper.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm index 9564c43..6b76eb0 100644 --- a/scripts/VyattaQosTrafficShaper.pm +++ b/scripts/VyattaQosTrafficShaper.pm @@ -107,9 +107,10 @@ my $rate = _getPercentRate($self->{_rate}, $limit); if ($rate > $limit) { print "Configuration error in: $level\n"; - printf STDERR "The bandwidth reserved for this class (%dKbps) must be", + printf STDERR + "The bandwidth reserved for this class (%dKbps) must be less than\n", $rate / 1000; - printf STDERR "less than the bandwidth for the overall policy (%dKbps)\n", + printf STDERR "the bandwidth for the overall policy (%dKbps)\n", $limit / 1000; exit 1; } @@ -117,9 +118,10 @@ my $ceil = _getPercentRate($self->{_ceiling}, $limit); if (defined $ceil && $ceil < $rate) { print "Configuration error in: $level\n"; - printf STDERR "The bandwidth ceiling for this class (%dKbps) must be", + printf STDERR + "The bandwidth ceiling for this class (%dKbps) must be less than\n", $ceil / 1000; - printf STDERR "less than the reserved bandwidth for the class (%dKbps)\n", + printf STDERR "the reserved bandwidth for the class (%dKbps)\n", $rate / 1000; exit 1; } |