aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJon Dowland <jon@alcopop.org>2011-04-20 23:10:33 +0100
committerJon Dowland <jon@alcopop.org>2011-04-20 23:10:33 +0100
commitb7a49ee36479a00208ee80343fc3fc2be2da92fb (patch)
treec295c3ca9d66a7aa76c783deebad1ad94733b9cf /IkiWiki
parenta0f82c5015864abf7d2afa42d48efef8ed68df08 (diff)
downloadikiwiki-b7a49ee36479a00208ee80343fc3fc2be2da92fb.tar
ikiwiki-b7a49ee36479a00208ee80343fc3fc2be2da92fb.tar.gz
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.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Wrapper.pm2
1 files changed, 1 insertions, 1 deletions
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