diff --git a/src/lib/utils.c b/src/lib/utils.c index f708c9f..6b227d8 100644 --- a/src/lib/utils.c +++ b/src/lib/utils.c @@ -208,5 +208,5 @@ int base64_encode(void *data, unsigned long data_len, char *output, unsigned lon long clock_micros(void) { struct timespec time; clock_gettime(CLOCK_MONOTONIC, &time); - return time.tv_sec * 10000000 + time.tv_nsec / 1000; + return time.tv_sec * 1000000 + time.tv_nsec / 1000; }