]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/nm: use print-style not printf-style
authorcuiweixie <cuiweixie@gmail.com>
Wed, 28 Sep 2022 13:38:31 +0000 (21:38 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 29 Sep 2022 09:05:07 +0000 (09:05 +0000)
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>
src/cmd/nm/nm.go

index 178eeb27bea34715c4c7a0a5a9bad09a0b2dd563..78fa60014b55395ea33d8e576864e258d71757a8 100644 (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)
 }