mirror of
https://github.com/golang/go
synced 2024-11-02 13:42:29 +00:00
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:
parent
a57639a2b2
commit
8d3631fcef
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue