Fix bug in error string formatting.
(transplanted from 1102e49d480054be9ca7df4120e36d76437439e4)

--HG--
extra : transplant_source : %11%02%E4%9DH%00T%BE%9C%A7%DFA%20%E3mvCt9%E4