Get the sprintf() params right