Fixed warning printf

Changing after Emilio's pull my printf