Add missing sprintf
Merge pull request #6 from rn0/fix

Add missing sprintf