Fix pedatic warnings about printf formats.