aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/time_posix.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-21 21:51:51 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-21 21:51:51 -0800
commita83567d72907d3b8abe3ca006363db8afedd1698 (patch)
tree9b29f733ec7667c5a12f46e082cd8195e54c9ff2 /src/core/support/time_posix.c
parent018afed1b3083c2d032ad31906194f66d52097a3 (diff)
Fix math in time_posix.c
Diffstat (limited to 'src/core/support/time_posix.c')
-rw-r--r--src/core/support/time_posix.c2
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