fixed missing arg in fmt.Fprintf

This commit is contained in:
Stephen McQuay 2015-10-04 23:28:18 -07:00
parent daefb15f3d
commit de9b299d2f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func init() {
func main() {
cfg, err := stdn.GetConfig()
if err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n")
fmt.Fprintf(os.Stderr, "error: %v\n", err)
os.Exit(1)
}
if len(cfg.Servers) <= 0 {