summaryrefslogtreecommitdiff
path: root/pimd/pim_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_time.c')
-rw-r--r--pimd/pim_time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pimd/pim_time.c b/pimd/pim_time.c
index c88ee7554b..93aaffb6a4 100644
--- a/pimd/pim_time.c
+++ b/pimd/pim_time.c
@@ -171,9 +171,7 @@ void pim_time_uptime_begin(char *buf, int buf_size, int64_t now, int64_t begin)
long pim_time_timer_remain_msec(struct thread *t_timer)
{
- /* FIXME: Actually fetch msec resolution from thread */
-
/* no timer thread running means timer has expired: return 0 */
- return t_timer ? 1000 * thread_timer_remain_second(t_timer) : 0;
+ return t_timer ? thread_timer_remain_msec(t_timer) : 0;
}