Corrected erroneous sprintf() (refs #3294)
Merge pull request #584 from eguaj/3.2-A3294

Corrected erroneous sprintf() (refs #3294)