diff options
Diffstat (limited to 'src/core/lib/support/log.c')
-rw-r--r-- | src/core/lib/support/log.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/lib/support/log.c b/src/core/lib/support/log.c index 010dc65d6a..fadb4d9a2c 100644 --- a/src/core/lib/support/log.c +++ b/src/core/lib/support/log.c @@ -65,7 +65,7 @@ void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print) { void gpr_log_verbosity_init() { char *verbosity = NULL; - char *insecure_getenv = gpr_getenv_silent("GRPC_VERBOSITY", &verbosity); + const char *insecure_getenv = gpr_getenv_silent("GRPC_VERBOSITY", &verbosity); gpr_atm min_severity_to_print = GPR_LOG_SEVERITY_ERROR; if (verbosity != NULL) { @@ -84,8 +84,7 @@ void gpr_log_verbosity_init() { } if (insecure_getenv != NULL) { - gpr_log(GPR_DEBUG, - "Warning: insecure environment read function '%s' used", + gpr_log(GPR_DEBUG, "Warning: insecure environment read function '%s' used", insecure_getenv); } } |