From 821c4fed90e53159cce84fde51c316822e846322 Mon Sep 17 00:00:00 2001 From: Helio Machado <0x2b3bfa0+git@googlemail.com> Date: Fri, 18 Oct 2024 06:06:33 +0200 Subject: [PATCH] cmd/age-keygen: fix non-constant format string in `log.Printf` --- cmd/age-keygen/keygen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/age-keygen/keygen.go b/cmd/age-keygen/keygen.go index 3971d371..5be3c5e2 100644 --- a/cmd/age-keygen/keygen.go +++ b/cmd/age-keygen/keygen.go @@ -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) }