From f0f6fa6b2e5d9b5d0a2a25388bba17c9fbbb6351 Mon Sep 17 00:00:00 2001 From: moshee Date: Wed, 12 Aug 2015 04:19:23 +0000 Subject: [PATCH] cmd/dlv: fix bad format string --- cmd/dlv/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dlv/main.go b/cmd/dlv/main.go index fb1d9fb2..240be5b5 100644 --- a/cmd/dlv/main.go +++ b/cmd/dlv/main.go @@ -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))