static const char size_unit_abbrevs[] = " BKMGT";
static const char count_unit_abbrevs[] = " kmgt";
-static struct uid_range *admissible_uids;
-
static enum enum_size_unit format_size_value(enum enum_size_unit unit,
uint64_t value, int print_unit, char *result)
{
return 1;
}
-static int read_uid_file(void)
+static int read_uid_file(struct uid_range *admissible_uids)
{
size_t size;
uint32_t n;
int com_select(void)
{
int ret;
+ struct uid_range *admissible_uids = NULL;
+
if (conf.select_options_given) {
struct select_cmdline_parser_params params = {
.override = 1,
if (ret < 0)
return ret;
check_signals();
- ret = read_uid_file();
+ ret = read_uid_file(admissible_uids);
if (ret < 0)
return ret;
check_signals();