commit | e95122ea1443cc06eee28fef202728dbdb1e6f92 | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Wed Oct 13 12:15:21 2021 -0700 |
committer | Cole Faust <colefaust@google.com> | Wed Oct 13 12:15:21 2021 -0700 |
tree | 3a23d57be681f103c557c3a5a9327d7405e9d637 | |
parent | b9b28016e645ffec7e9e5e2bdac85b6c6cf35d8e [diff] |
Fix formatting of rbcrun errors Was using println instead of printf, and not expanding the variable arguments. Test: Manually Change-Id: I70cd44c11a9b887e396dfa48ba445e2453d3da9b
diff --git a/tools/rbcrun/cmd/rbcrun.go b/tools/rbcrun/cmd/rbcrun.go index 7848562..4db6a0b 100644 --- a/tools/rbcrun/cmd/rbcrun.go +++ b/tools/rbcrun/cmd/rbcrun.go
@@ -93,6 +93,6 @@ } func quit(format string, s ...interface{}) { - fmt.Fprintln(os.Stderr, format, s) + fmt.Fprintf(os.Stderr, format, s...) os.Exit(2) }