Killing a warning at sprintf