Add missing argument to sprintf

sprintf needs at least three arguments:
Target string, format string and format arguments.