diff options
Diffstat (limited to 'src/test/osdc/object_cacher_stress.cc')
-rw-r--r-- | src/test/osdc/object_cacher_stress.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/osdc/object_cacher_stress.cc b/src/test/osdc/object_cacher_stress.cc index f69905017f1..096f9b49ebf 100644 --- a/src/test/osdc/object_cacher_stress.cc +++ b/src/test/osdc/object_cacher_stress.cc @@ -353,9 +353,8 @@ int correctness_test(uint64_t delay_ns) int main(int argc, const char **argv) { - std::vector<const char*> args; - argv_to_vec(argc, argv, args); - auto cct = global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, + auto args = argv_to_vec(argc, argv); + auto cct = global_init(nullptr, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, CINIT_FLAG_NO_DEFAULT_CONFIG_FILE); |