1
0
mirror of https://github.com/golang/go synced 2024-11-19 23:54:40 -07:00

runtime: fix freebsd build

R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/5370050
This commit is contained in:
Mikio Hara 2011-11-10 10:02:24 +09:00
parent bb66164542
commit be8025604e

View File

@ -21,8 +21,8 @@ runtime·futexsleep(uint32 *addr, uint32 val, int64 ns)
if(ns < 0)
tsp = nil;
else {
ts.sec = ns / 1000000000LL;
ts.nsec = ns % 1000000000LL;
ts.tv_sec = ns / 1000000000LL;
ts.tv_nsec = ns % 1000000000LL;
tsp = &ts;
}