Fix formatting of rbcrun errors

Was using println instead of printf, and not expanding
the variable arguments.

Test: Manually
Change-Id: I70cd44c11a9b887e396dfa48ba445e2453d3da9b
This commit is contained in:
Cole Faust
2021-10-13 12:15:21 -07:00
parent b9b28016e6
commit e95122ea14

View File

@@ -93,6 +93,6 @@ func main() {
}
func quit(format string, s ...interface{}) {
fmt.Fprintln(os.Stderr, format, s)
fmt.Fprintf(os.Stderr, format, s...)
os.Exit(2)
}