Fix printf attribute compilation errors

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
2 jobs for kg-master in 1 minute and 44 seconds (queued for 1 second)