From: Jon Dowland Date: Wed, 20 Apr 2011 22:10:33 +0000 (+0100) Subject: fix use of debug() without sprintf() X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7a49ee36479a00208ee80343fc3fc2be2da92fb;p=ikiwiki.git fix use of debug() without sprintf() Previous commit substituted a printf call (two arguments) for debug (accepts only one). Interleave an sprintf call to resolve. --- diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm index d3b3e00ea..4fe2d8111 100644 --- a/IkiWiki/Wrapper.pm +++ b/IkiWiki/Wrapper.pm @@ -237,7 +237,7 @@ EOF error("rename $wrapper.new $wrapper: $!"); } #translators: The parameter is a filename. - debug(gettext("successfully generated %s"), $wrapper); + debug(sprintf(gettext("successfully generated %s"), $wrapper)); } 1