fix wrong printf format mismatches

As the title said this hunts all printf format mismatches (thanks @notspiff)
i get a warning that the parameter is not used in printf and it's taken from notspiff's cleanup commit.