fix wrong printf format mismatches

As the title said this hunts all printf format mismatches (thanks @notspiff)
every printf format issue in this PR only prints a warning but we don't want such warnings if we can avoid them.