提交 f0f6fa6b 编写于 作者: M moshee 提交者: Derek Parker

cmd/dlv: fix bad format string

上级 a336c92a
......@@ -214,7 +214,7 @@ starts and attaches to it, and enable you to immediately begin debugging your pr
Run: func(cmd *cobra.Command, args []string) {
pid, err := strconv.Atoi(args[0])
if err != nil {
fmt.Fprintf(os.Stderr, "Invalid pid: %d", args[0])
fmt.Fprintf(os.Stderr, "Invalid pid: %s\n", args[0])
os.Exit(1)
}
os.Exit(execute(pid, nil))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册