mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
Kernel: Oops, gettimeofday()'s tv_usec should be micro, not milliseconds.
This commit is contained in:
parent
a7d5e9781a
commit
ce7c302933
3 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@ void WSMessageLoop::Timer::reload()
|
|||
gettimeofday(&now, nullptr);
|
||||
next_fire_time = {
|
||||
now.tv_sec + (interval / 1000),
|
||||
now.tv_usec + (interval % 1000)
|
||||
now.tv_usec + (interval % 1000) * 1000
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue