diff options
Diffstat (limited to 'Kernel/TimerQueue.cpp')
-rw-r--r-- | Kernel/TimerQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TimerQueue.cpp b/Kernel/TimerQueue.cpp index 8c0da10c14..3edd86f46b 100644 --- a/Kernel/TimerQueue.cpp +++ b/Kernel/TimerQueue.cpp @@ -104,7 +104,7 @@ TimerId TimerQueue::add_timer(NonnullRefPtr<Timer>&& timer) timer->m_id = ++m_timer_id_count; VERIFY(timer->m_id != 0); // wrapped add_timer_locked(move(timer)); - return m_timer_id_count; + return timer->m_id; } void TimerQueue::add_timer_locked(NonnullRefPtr<Timer> timer) |