break;
case 'L':
nsjconf->logfile =
- "/dev/fd/" + std::to_string(std::strtol(optarg, NULL, 10));
+ "/dev/fd/" + std::to_string(strtol(optarg, NULL, 10));
break;
case 'd':
nsjconf->daemonize = true;
std::string i_id = argByColon(optarg, 0);
std::string o_id = argByColon(optarg, 1);
std::string cnt = argByColon(optarg, 2);
- size_t count = std::strtoul(cnt.c_str(), nullptr, 0);
+ size_t count = strtoul(cnt.c_str(), nullptr, 0);
if (!user::parseId(nsjconf.get(), i_id, o_id, count, /* is_gid= */ false,
/* is_newidmap= */ false)) {
return nullptr;
std::string i_id = argByColon(optarg, 0);
std::string o_id = argByColon(optarg, 1);
std::string cnt = argByColon(optarg, 2);
- size_t count = std::strtoul(cnt.c_str(), nullptr, 0);
+ size_t count = strtoul(cnt.c_str(), nullptr, 0);
if (!user::parseId(nsjconf.get(), i_id, o_id, count, /* is_gid= */ true,
/* is_newidmap= */ false)) {
return nullptr;
std::string i_id = argByColon(optarg, 0);
std::string o_id = argByColon(optarg, 1);
std::string cnt = argByColon(optarg, 2);
- size_t count = std::strtoul(cnt.c_str(), nullptr, 0);
+ size_t count = strtoul(cnt.c_str(), nullptr, 0);
if (!user::parseId(nsjconf.get(), i_id, o_id, count, /* is_gid= */ false,
/* is_newidmap= */ true)) {
return nullptr;
std::string i_id = argByColon(optarg, 0);
std::string o_id = argByColon(optarg, 1);
std::string cnt = argByColon(optarg, 2);
- size_t count = std::strtoul(cnt.c_str(), nullptr, 0);
+ size_t count = strtoul(cnt.c_str(), nullptr, 0);
if (!user::parseId(nsjconf.get(), i_id, o_id, count, /* is_gid= */ true,
/* is_newidmap= */ true)) {
return nullptr;