Commit bddf8c89 authored by Danilo Sabato's avatar Danilo Sabato Committed by Alessandro Rubini

arch-bare-linux: fix nanoseconds conversion

parent 25257245
......@@ -41,7 +41,7 @@ void bare_get_tstamp(TimeInternal *t)
}
t->seconds = tv.tv_sec;
t->nanoseconds = (tv.tv_usec % 1000) * 1000;
t->nanoseconds = tv.tv_usec * 1000;
}
int32_t bare_set_tstamp(TimeInternal *t)
......
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