correct sprintf/printf doc
Merge pull request #2599 from ihnorton/master

doc correction: sprintf/printf