fixed an error formatting bug
Merge pull request #789 from mattyw/go-vet-fix

fixed an error formatting bug