cmd/nm: use print-style not printf-style

Change-Id: Ic977026a99a825954117902051e59928de9ccbdb
Reviewed-on: https://go-review.googlesource.com/c/go/+/435947
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: xie cui <523516579@qq.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
cuiweixie 2022-09-28 21:38:31 +08:00 committed by Gopher Robot
parent a57639a2b2
commit 8d3631fcef

View file

@ -29,7 +29,7 @@ const helpText = `usage: go tool nm [options] file...
`
func usage() {
fmt.Fprintf(os.Stderr, helpText)
fmt.Fprint(os.Stderr, helpText)
os.Exit(2)
}