Commit a27e61e2 authored by Russ Cox's avatar Russ Cox

time bug: darwin, linux return microseconds not nanoseconds

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=15626
CL=15641
parent fb2c6671
......@@ -15,5 +15,5 @@ export func gettimeofday() (sec, nsec, errno int64) {
if err != 0 {
return 0, 0, err
}
return r1, r2, 0
return r1, r2*1000, 0
}
......@@ -15,5 +15,5 @@ export func gettimeofday() (sec, nsec, errno int64) {
if err != 0 {
return 0, 0, err
}
return tv[0], tv[1], 0
return tv[0], tv[1]*1000, 0
}
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