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

arch-bare-x86-64: fix nanoseconds conversion

parent 711e3cac
......@@ -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