]> git.donarmstrong.com Git - debbugs.git/commitdiff
Use printf instead of print in pkgreport
authorDon Armstrong <don@volo>
Tue, 12 Sep 2006 09:15:05 +0000 (02:15 -0700)
committerDon Armstrong <don@volo>
Tue, 12 Sep 2006 09:15:05 +0000 (02:15 -0700)
cgi/pkgreport.cgi

index bd0d275e96efbba56572e12d8cf15ddb853fff70..2d7dec655c18d8a941ae95b28db1fc45208bed8b 100755 (executable)
@@ -463,7 +463,7 @@ if (defined $pkg || defined $src) {
 }
 
 set_option("archive", !$archive);
-print "<p>See the <a href=\"%s\">%s reports</a></p>",
+printf "<p>See the <a href=\"%s\">%s reports</a></p>",
      urlsanit('pkgreport.cgi?'.join(';',
                                    map {$_ eq 'archived'?():("$_=$param{$_}")
                                    } keys %param,