adding missing argument in printf statement