projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0f82c5
)
fix use of debug() without sprintf()
author
Jon Dowland
<jon@alcopop.org>
Wed, 20 Apr 2011 22:10:33 +0000
(23:10 +0100)
committer
Jon Dowland
<jon@alcopop.org>
Wed, 20 Apr 2011 22:10:33 +0000
(23:10 +0100)
Previous commit substituted a printf call (two arguments) for
debug (accepts only one). Interleave an sprintf call to resolve.
IkiWiki/Wrapper.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Wrapper.pm
b/IkiWiki/Wrapper.pm
index d3b3e00eae91c057a1789cf3f5c315e0118c9557..4fe2d8111d0a76714f37387f41da4d2666f3f5e2 100644
(file)
--- 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