Subject: | Bad warning in vpp::new |
The warning issued at the end of version::vpp::new is missing a sprintf to format its arguments, so the warning has %s placeholders instead of the proper values.
Patch attached.
Subject: | vpp-warn.patch |
diff --git i/vperl/vpp.pm w/vperl/vpp.pm
index 45c0349..bdd1e69 100644
--- i/vperl/vpp.pm
+++ w/vperl/vpp.pm
@@ -700,7 +700,7 @@ sub new {
my $s = scan_version($value, \$self, $qv);
if ($s) { # must be something left over
- warn("Version string '%s' contains invalid data; "
+ warn(sprintf "Version string '%s' contains invalid data; "
."ignoring: '%s'", $value, $s);
}