Fixed warnings in printf-like formats.