fixed compiler warning

there was a format string which was not being assigned.