printf => sprintf. Totally pushed without testing.