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