diff --git a/util/env_hdfs.cc b/util/env_hdfs.cc index ba052a5f4..fdb286f9c 100644 --- a/util/env_hdfs.cc +++ b/util/env_hdfs.cc @@ -596,8 +596,8 @@ Status HdfsEnv::NewLogger(const std::string& fname, // The factory method for creating an HDFS Env Status NewHdfsEnv(Env** hdfs_env, const std::string& fsname) { - *hdfs_env = new HdfsEnv(fsname); - return Status::OK(); + *hdfs_env = new HdfsEnv(fsname); + return Status::OK(); } } // namespace rocksdb