Fix printf-like warnings