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:
parent
bb66164542
commit
be8025604e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user