Fix stderr printing functions (#894)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Fix stderr printing functions Follow-up of #822 * Errors go to stderr as per POSIX * use PrintErrf() instead of extra call to Sprintf() * Error messages should always be printed to os.Stderr. * add test case for Print* redirection
authored by Alessio Treglia · committed by GitHub · parent 0bc8bfb · Browse files · 3 files+50 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Thanks: @bukowa for the patch.
Diff stats
3 files+50 added−8 removed
- other:+50 added−8 removed