Commit 4cdb1412 authored by Tim Hockin's avatar Tim Hockin

Merge pull request #6806 from eparis/binary-error-Fprintf

Use Fprintf to print formatted strings
parents 9b6ba236 03693722
......@@ -42,7 +42,7 @@ func main() {
verflag.PrintAndExitIfRequested()
if err := s.Run(pflag.CommandLine.Args()); err != nil {
fmt.Fprint(os.Stderr, "%v\n", err)
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}
......@@ -49,7 +49,7 @@ func main() {
verflag.PrintAndExitIfRequested()
if err := s.Run(pflag.CommandLine.Args()); err != nil {
fmt.Fprint(os.Stderr, "%v\n", err)
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}
......@@ -45,7 +45,7 @@ func main() {
verflag.PrintAndExitIfRequested()
if err := s.Run(pflag.CommandLine.Args()); err != nil {
fmt.Fprint(os.Stderr, "%v\n", err)
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}
......@@ -44,7 +44,7 @@ func main() {
verflag.PrintAndExitIfRequested()
if err := s.Run(pflag.CommandLine.Args()); err != nil {
fmt.Fprint(os.Stderr, "%v\n", err)
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment