aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/statistics/small_log_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/statistics/small_log_test.c')
-rw-r--r--test/core/statistics/small_log_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/statistics/small_log_test.c b/test/core/statistics/small_log_test.c
index c151b77f63..b26b95f639 100644
--- a/test/core/statistics/small_log_test.c
+++ b/test/core/statistics/small_log_test.c
@@ -40,7 +40,7 @@
int main(int argc, char **argv) {
grpc_test_init(argc, argv);
- srand(gpr_now().tv_nsec);
+ srand(gpr_now(GPR_CLOCK_REALTIME).tv_nsec);
test_small_log();
return 0;
}