summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/log.go b/src/lib/log.go
index 7a81eb63d..34158c789 100644
--- a/src/lib/log.go
+++ b/src/lib/log.go
@@ -160,7 +160,7 @@ func Stdout(v ...) {
// Stderr is a helper function for easy logging to stderr. It is analogous to Fprint(os.Stderr).
func Stderr(v ...) {
- stdout.Output(2, fmt.Sprintln(v))
+ stderr.Output(2, fmt.Sprintln(v))
}
// Stdoutf is a helper functions for easy formatted logging to stdout. It is analogous to Printf().