From 3a1c29d40ebcebb5d0815a64733bfe93e7c782b0 Mon Sep 17 00:00:00 2001 From: Derrick Pallas Date: Fri, 8 May 2020 20:48:17 -0700 Subject: [PATCH] Add missing my_pid to fprintf in multi_process_example (#6731) Summary: Signed-off-by: Derrick Pallas Pull Request resolved: https://github.com/facebook/rocksdb/pull/6731 Reviewed By: siying Differential Revision: D21137005 Pulled By: riversand963 fbshipit-source-id: a7182e1bec225bc110971f40e2d0e6c3a671c061 --- examples/multi_processes_example.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/multi_processes_example.cc b/examples/multi_processes_example.cc index 3241e36ea..21d422cf2 100644 --- a/examples/multi_processes_example.cc +++ b/examples/multi_processes_example.cc @@ -301,7 +301,7 @@ void RunSecondary() { std::string value; db->Get(ropts, key, &value); } - fprintf(stdout, "[process %ld] Point lookup thread finished\n"); + fprintf(stdout, "[process %ld] Point lookup thread finished\n", my_pid); }); uint64_t curr_key = 0;