summaryrefslogtreecommitdiff
path: root/overlay/rc6.c
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/rc6.c')
-rw-r--r--overlay/rc6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/rc6.c b/overlay/rc6.c
index 54e8594d..4bece6c0 100644
--- a/overlay/rc6.c
+++ b/overlay/rc6.c
@@ -50,7 +50,7 @@ static uint64_t clock_ms_to_u64(void)
if (clock_gettime(CLOCK_MONOTONIC, &tv) < 0)
return 0;
- return (uint64_t)tv.tv_sec * 1000 + tv.tv_nsec / 10000000;
+ return (uint64_t)tv.tv_sec * 1000 + tv.tv_nsec / 1000000;
}
int rc6_update(struct rc6 *rc6)