summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 45dc8db..c6af116 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -739,7 +739,7 @@ void stats_deliver(int64_t sock, int tasktype) { mutex_workqueue_pushtask(sock,
739 739
740static pthread_t thread_id; 740static pthread_t thread_id;
741void stats_init(void) { 741void stats_init(void) {
742 ot_start_time = g_now_seconds; 742 ot_start_time = time_now_seconds();
743 pthread_create(&thread_id, NULL, stats_worker, NULL); 743 pthread_create(&thread_id, NULL, stats_worker, NULL);
744} 744}
745 745