Commit be802560 authored by Mikio Hara's avatar Mikio Hara

runtime: fix freebsd build

R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/5370050
parent bb661645
......@@ -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;
}
......
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