Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
time: fix Plan 9 build
Browse files Browse the repository at this point in the history
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4966045
  • Loading branch information
fhs authored and rsc committed Aug 29, 2011
1 parent b3cc489 commit 45bd7b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pkg/time/zoneinfo_plan9.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 45bd7b0

Please sign in to comment.