I'm not sure which is easier to read.  The sprintf mostly just kept the line a little shorter.