From: David Symonds Date: Tue, 31 Mar 2009 02:01:59 +0000 (-0700) Subject: log.Stderr should actually go to stderr. X-Git-Tag: weekly.2009-11-06~1935 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=79b55e226a72cc995fef58f683d6c8e77d181c87;p=gostls13.git log.Stderr should actually go to stderr. R=r APPROVED=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=26926 CL=26928 --- diff --git a/src/lib/log.go b/src/lib/log.go index 7a81eb63d6..34158c789e 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().