Skip to content

Commit

Permalink
fixup: keygen.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pheiduck authored Oct 21, 2024
1 parent 176e245 commit 1f5703f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/age-keygen/keygen.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ func convert(in io.Reader, out io.Writer) {
}

func errorf(format string, v ...interface{}) {
log.Printf("age-keygen: error: "+format, v...)
log.Printf("age-keygen: error: %s", fmt.Sprintf(format, v...))
log.Fatalf("age-keygen: report unexpected or unhelpful errors at https://filippo.io/age/report")
}

func warning(msg string) {
log.Printf("age-keygen: warning: " + msg)
log.Printf("age-keygen: warning: %s", msg)
}

0 comments on commit 1f5703f

Please sign in to comment.