Fix warning due to a wrong format specifier for printf