Commit 45bd7b07 authored by Fazlul Shahriar's avatar Fazlul Shahriar Committed by Russ Cox

time: fix Plan 9 build

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4966045
parent b3cc4897
......@@ -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))
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment