aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/log_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/support/log_win32.c')
-rw-r--r--src/core/support/log_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/support/log_win32.c b/src/core/support/log_win32.c
index d249be7d2e..629781da8a 100644
--- a/src/core/support/log_win32.c
+++ b/src/core/support/log_win32.c
@@ -82,7 +82,7 @@ void gpr_log(const char *file, int line, gpr_log_severity severity,
/* Simple starter implementation */
void gpr_default_log(gpr_log_func_args *args) {
char time_buffer[64];
- gpr_timespec now = gpr_now();
+ gpr_timespec now = gpr_now(GPR_CLOCK_REALTIME);
struct tm tm;
if (localtime_s(&tm, &now.tv_sec)) {