diff options
author | Fazlul Shahriar <fshahriar@gmail.com> | 2011-08-29 09:35:08 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-08-29 09:35:08 -0400 |
commit | 45bd7b07e5e4a6524a6fe243a40a5918850168bf (patch) | |
tree | 5b097f59d46169e3a3e476243368dd866f7fe83c | |
parent | b3cc4897be0c8131a2b50d2349a0d8249b46b444 (diff) | |
download | go-45bd7b07e5e4a6524a6fe243a40a5918850168bf.tar.gz go-45bd7b07e5e4a6524a6fe243a40a5918850168bf.zip |
time: fix Plan 9 build
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4966045
-rw-r--r-- | src/pkg/time/zoneinfo_plan9.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/time/zoneinfo_plan9.go b/src/pkg/time/zoneinfo_plan9.go index 57e605e0d6..577ef85bd6 100644 --- a/src/pkg/time/zoneinfo_plan9.go +++ b/src/pkg/time/zoneinfo_plan9.go @@ -67,9 +67,9 @@ func setupTestingZone() { l, _ := f.Seek(0, 2) f.Seek(0, 0) buf := make([]byte, l) - _, err := f.Read(buf) + _, err = f.Read(buf) if err != nil { return } - zones = parseZones(buf) + zones = parseZones(string(buf)) } |