]> Cypherpunks repositories - gostls13.git/commit
cmd/pprof: fix help message formatting error
authorHana Kim <hakim@google.com>
Thu, 31 May 2018 17:16:24 +0000 (13:16 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Thu, 31 May 2018 17:29:10 +0000 (17:29 +0000)
commit424c2157392d46220213610a290a275c36ddcd97
tree55aa15789ed57fbe65b18c5c9040167019106911
parent6b4828a206c2c5a5b6bf3cd4bd92b9530ecca5e5
cmd/pprof: fix help message formatting error

Pprof usage message includes "%" symbols. Misuse of Fprintf caused
the message to be interpreted as a format string and corrupted the usage
message.

Change-Id: I4732b491e2368cff9fdbfe070c125228d6f506fd
Reviewed-on: https://go-review.googlesource.com/115595
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/pprof/readlineui.go