Skip to content

Commit

Permalink
maxprocs: Print newline after log (#583)
Browse files Browse the repository at this point in the history
* maxprocs: Print newline after log

* Prefer emitting a newline over concatenation for efficiency
  • Loading branch information
mterwill authored Nov 4, 2022
1 parent 0560adf commit c06ebf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtimebp/internal/maxprocs/maxprocs.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ var (
ubermaxprocs.Min(2),
ubermaxprocs.Logger(func(s string, i ...interface{}) {
fmt.Fprintf(os.Stderr, s, i...) // contains context
fmt.Fprintln(os.Stderr, "")
}),
)
}
Expand Down

0 comments on commit c06ebf3

Please sign in to comment.