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)) }