diff options
author | 2016-06-10 15:15:44 -0700 | |
---|---|---|
committer | 2016-06-10 15:15:44 -0700 | |
commit | 0ba114408ebb153b29c85dd8be9847095a6a6954 (patch) | |
tree | b2fe0cfd1e799493489be2a3b4790b59df4fb4a8 /test/cpp/qps/parse_json.cc | |
parent | 1f24af879c507927203f11301e6ff2439bdbeff8 (diff) |
Fix gpr_log format mismatches in c++ tests
Diffstat (limited to 'test/cpp/qps/parse_json.cc')
-rw-r--r-- | test/cpp/qps/parse_json.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/parse_json.cc b/test/cpp/qps/parse_json.cc index be804281f8..e4fc35fa41 100644 --- a/test/cpp/qps/parse_json.cc +++ b/test/cpp/qps/parse_json.cc @@ -55,7 +55,7 @@ void ParseJson(const grpc::string& json, const grpc::string& type, grpc::string errmsg(status.error_message()); gpr_log(GPR_ERROR, "Failed to convert json to binary: errcode=%d msg=%s", status.error_code(), errmsg.c_str()); - gpr_log(GPR_ERROR, "JSON: ", json.c_str()); + gpr_log(GPR_ERROR, "JSON: %s", json.c_str()); abort(); } GPR_ASSERT(msg->ParseFromString(binary)); |