src: log: log_output_p(): Change type of fmt