summaryrefslogtreecommitdiffstats
path: root/src/test/xattr_bench.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/xattr_bench.cc')
-rw-r--r--src/test/xattr_bench.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/xattr_bench.cc b/src/test/xattr_bench.cc
index 5c57b8927fe..d1cb8cb3297 100644
--- a/src/test/xattr_bench.cc
+++ b/src/test/xattr_bench.cc
@@ -152,7 +152,8 @@ int main(int argc, char **argv) {
vector<const char*> args;
argv_to_vec(argc, (const char **)argv, args);
- global_init(0, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0);
+ auto cct = global_init(0, args, CEPH_ENTITY_TYPE_CLIENT,
+ CODE_ENVIRONMENT_UTILITY, 0);
common_init_finish(g_ceph_context);
std::cerr << "args: " << args << std::endl;