aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2015-09-07 16:04:01 +1000
committerDave Cheney <dave@cheney.net>2015-09-07 06:12:21 +0000
commit60f0345667b8752f0a0f576f319dbfb495b36081 (patch)
treec1f5a28165bb1fd10e015ae8dc4053506c2ae838 /src
parentdab0dac01aa5074857ef8a2e089c3eda107a0fa1 (diff)
downloadgo-60f0345667b8752f0a0f576f319dbfb495b36081.tar.xz
cmd/dist: fix mkzversion to produce gofmt'd output
Fix mkzversion to produce correctly formatted runtime/zversion.go. Change-Id: Ie6bcd361a2f2e390b7f6c4980fcae2c41bb7e52f Reviewed-on: https://go-review.googlesource.com/14355 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/dist/buildruntime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/buildruntime.go b/src/cmd/dist/buildruntime.go
index 4e9bede6e2..1e7b4a7f62 100644
--- a/src/cmd/dist/buildruntime.go
+++ b/src/cmd/dist/buildruntime.go
@@ -32,7 +32,7 @@ func mkzversion(dir, file string) {
"const defaultGoroot = `%s`\n"+
"const theVersion = `%s`\n"+
"const goexperiment = `%s`\n"+
- "const stackGuardMultiplier = %d\n"+
+ "const stackGuardMultiplier = %d\n\n"+
"var buildVersion = theVersion\n", goroot_final, findgoversion(), os.Getenv("GOEXPERIMENT"), stackGuardMultiplier())
writefile(out, file, writeSkipSame)