1
0
mirror of https://github.com/golang/go synced 2024-11-20 00:04:43 -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) if(ns < 0)
tsp = nil; tsp = nil;
else { else {
ts.sec = ns / 1000000000LL; ts.tv_sec = ns / 1000000000LL;
ts.nsec = ns % 1000000000LL; ts.tv_nsec = ns % 1000000000LL;
tsp = &ts; tsp = &ts;
} }