Skip to content

Commit

Permalink
Updated fmt.Printf to use the correct count of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
skx committed Oct 23, 2019
1 parent 8b150e4 commit 5a46627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog_comment.go
Expand Up @@ -15,7 +15,7 @@ import (
// blog post.
type BlogComment struct {

// Author holds the name of the comment-submitter
// Author holds the name of the comment-submitter.
Author string

// Body holds the body of the comment.
Expand Down
2 changes: 1 addition & 1 deletion cmd/ephemeris/main.go
Expand Up @@ -764,7 +764,7 @@ func main() {
var err error
config, err = loadConfig(*confFile)
if err != nil {
fmt.Printf("Failed to load configuration file %s %s\n", err.Error())
fmt.Printf("Failed to load configuration file %s %s\n", *confFile, err.Error())
return
}

Expand Down

0 comments on commit 5a46627

Please sign in to comment.