aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index f5ad077..50b9534 100644
--- a/command.c
+++ b/command.c
@@ -13,7 +13,7 @@
static i64 make_timestamp(void){
struct timeval tv;
gettimeofday(&tv,NULL);
- return (i64)tv.tv_sec+tv.tv_usec;
+ return (i64)tv.tv_sec*1000000+tv.tv_usec;
}