Added missing parameter. Removed \n for consistency.

There are about 5 fmt.Errorf() statements that look very similar, but only one of them has a newline at the end. Unless there's a good reason for that, it's probably better to have them all consistent (either all with newline, or all without).