]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: add missing newline at end of error message
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 3 Dec 2016 00:34:03 +0000 (16:34 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sat, 3 Dec 2016 01:43:17 +0000 (01:43 +0000)
Change-Id: I9277e869e171d9e051ff9a70ac578b8127fa74f8
Reviewed-on: https://go-review.googlesource.com/33897
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/build.go

index 684d033d3a3e9e08b141556ab2ffb670ee9ca843..215c5ff6e37b6e180792dbfeb8c62206e999a963 100644 (file)
@@ -3773,7 +3773,7 @@ func instrumentInit() {
                return
        }
        if buildRace && buildMSan {
-               fmt.Fprintf(os.Stderr, "go %s: may not use -race and -msan simultaneously", flag.Args()[0])
+               fmt.Fprintf(os.Stderr, "go %s: may not use -race and -msan simultaneously\n", flag.Args()[0])
                os.Exit(2)
        }
        if goarch != "amd64" || goos != "linux" && goos != "freebsd" && goos != "darwin" && goos != "windows" {