From be2e08dd2ec940dfffb1b088a8544d182ea02583 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 10 Aug 2024 13:29:43 +0200 Subject: Prefer %s --- cmd/mfmt/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/mfmt') diff --git a/cmd/mfmt/main.go b/cmd/mfmt/main.go index 2c9b239..b8e0722 100644 --- a/cmd/mfmt/main.go +++ b/cmd/mfmt/main.go @@ -172,6 +172,6 @@ func intlen(v int) int { } func warn(e error) { - fmt.Fprintf(os.Stderr, "%s: %+v\n", filepath.Base(os.Args[0]), e) + fmt.Fprintf(os.Stderr, "%s: %s\n", filepath.Base(os.Args[0]), e) rv = 1 } -- cgit v1.2.3