summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs/cephfs-table-tool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cephfs/cephfs-table-tool.cc')
-rw-r--r--src/tools/cephfs/cephfs-table-tool.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/cephfs/cephfs-table-tool.cc b/src/tools/cephfs/cephfs-table-tool.cc
index 749de6f84d6..ef09df49473 100644
--- a/src/tools/cephfs/cephfs-table-tool.cc
+++ b/src/tools/cephfs/cephfs-table-tool.cc
@@ -14,7 +14,8 @@ int main(int argc, const char **argv)
argv_to_vec(argc, argv, args);
env_to_vec(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);
TableTool tt;