Skip to content

Commit

Permalink
cmd/age-keygen: fix non-constant format string in log.Printf
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Oct 18, 2024
1 parent 176e245 commit 821c4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/age-keygen/keygen.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,5 @@ func errorf(format string, v ...interface{}) {
}

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

0 comments on commit 821c4fe

Please sign in to comment.