diff options
Diffstat (limited to 'src/test/mon/test_mon_workloadgen.cc')
-rw-r--r-- | src/test/mon/test_mon_workloadgen.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/mon/test_mon_workloadgen.cc b/src/test/mon/test_mon_workloadgen.cc index 147ea8bcd04..e62c5627b40 100644 --- a/src/test/mon/test_mon_workloadgen.cc +++ b/src/test/mon/test_mon_workloadgen.cc @@ -990,11 +990,10 @@ int get_id_interval(int &first, int &last, string &str) int main(int argc, const char *argv[]) { - vector<const char*> args; our_name = argv[0]; - argv_to_vec(argc, argv, args); + auto args = argv_to_vec(argc, argv); - auto cct = global_init(NULL, args, + auto cct = global_init(nullptr, args, CEPH_ENTITY_TYPE_OSD, CODE_ENVIRONMENT_UTILITY, CINIT_FLAG_NO_DEFAULT_CONFIG_FILE); |