Sprintf was in the wrong place

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>