summaryrefslogtreecommitdiffstats
path: root/src/test/common/get_command_descriptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/common/get_command_descriptions.cc')
-rw-r--r--src/test/common/get_command_descriptions.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/common/get_command_descriptions.cc b/src/test/common/get_command_descriptions.cc
index eb4c0f9db91..1b4da3f8959 100644
--- a/src/test/common/get_command_descriptions.cc
+++ b/src/test/common/get_command_descriptions.cc
@@ -87,7 +87,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);
if (args.empty()) {