[BUILD] add format(printf) to printf-like functions

Doing this helps catching warnings about wrong output formats.
2 files changed