change printf to sprintf
Merge pull request #11 from dead-horse/sprintf

change printf to sprintf