summaryrefslogtreecommitdiffstats
path: root/src/test/erasure-code/TestErasureCodeShec_arguments.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/erasure-code/TestErasureCodeShec_arguments.cc')
-rw-r--r--src/test/erasure-code/TestErasureCodeShec_arguments.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/erasure-code/TestErasureCodeShec_arguments.cc b/src/test/erasure-code/TestErasureCodeShec_arguments.cc
index 597c479fa7e..2959d7c3a4a 100644
--- a/src/test/erasure-code/TestErasureCodeShec_arguments.cc
+++ b/src/test/erasure-code/TestErasureCodeShec_arguments.cc
@@ -393,7 +393,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);
const char* env = getenv("CEPH_LIB");