diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-01-21 21:51:51 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-01-21 21:51:51 -0800 |
commit | a83567d72907d3b8abe3ca006363db8afedd1698 (patch) | |
tree | 9b29f733ec7667c5a12f46e082cd8195e54c9ff2 | |
parent | 018afed1b3083c2d032ad31906194f66d52097a3 (diff) |
Fix math in time_posix.c
-rw-r--r-- | src/core/support/time_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/support/time_posix.c b/src/core/support/time_posix.c index 78d4c3b446..9e11f8a865 100644 --- a/src/core/support/time_posix.c +++ b/src/core/support/time_posix.c @@ -61,7 +61,7 @@ gpr_timespec gpr_now(void) { struct timeval now_tv; gettimeofday(&now_tv, NULL); now.tv_sec = now_tv.tv_sec; - now.tv_nsec = now_tv.tv_usec / 1000; + now.tv_nsec = now_tv.tv_usec * 1000; return now; } #endif |