Skip to content

Commit

Permalink
Merge pull request grpc#902 from bjornxiong/master
Browse files Browse the repository at this point in the history
Update log_posix.c
  • Loading branch information
ctiller committed Mar 2, 2015
2 parents fe3c37c + c1f97ce commit cfe6da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/support/log_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void gpr_log(const char *file, int line, gpr_log_severity severity,
} else {
message = allocated = gpr_malloc(ret + 1);
va_start(args, format);
vsnprintf(message, ret, format, args);
vsnprintf(message, ret + 1, format, args);
va_end(args);
}
gpr_log_message(file, line, severity, message);
Expand Down

0 comments on commit cfe6da2

Please sign in to comment.