diff options
Diffstat (limited to 'src/test/objectstore/chain_xattr.cc')
-rw-r--r-- | src/test/objectstore/chain_xattr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/objectstore/chain_xattr.cc b/src/test/objectstore/chain_xattr.cc index a05e8755dd1..34654295d77 100644 --- a/src/test/objectstore/chain_xattr.cc +++ b/src/test/objectstore/chain_xattr.cc @@ -432,7 +432,8 @@ int main(int argc, char **argv) { vector<const char*> args; argv_to_vec(argc, (const char **)argv, args); - global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0); + auto cct = global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, + CODE_ENVIRONMENT_UTILITY, 0); common_init_finish(g_ceph_context); g_ceph_context->_conf->set_val("err_to_stderr", "false"); g_ceph_context->_conf->set_val("log_to_stderr", "false"); |