From 3975b9910ce64d1bb00031c7d137dcdae069cbc1 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Sun, 22 May 2011 11:55:02 +1000 Subject: [PATCH] flag: fix build R=r CC=golang-dev https://golang.org/cl/4543064 --- src/pkg/flag/flag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/flag/flag.go b/src/pkg/flag/flag.go index ec254fd888..e5d2f94e9b 100644 --- a/src/pkg/flag/flag.go +++ b/src/pkg/flag/flag.go @@ -567,7 +567,7 @@ func Var(value Value, name string, usage string) { // returns the error. func (f *FlagSet) failf(format string, a ...interface{}) os.Error { err := fmt.Errorf(format, a...) - fmt.Println(errc) + fmt.Fprintln(os.Stderr, err) if f == commandLine { Usage() } else {