<snip>
> +/*
> + * Test whether the auxiliary device exist */ bool
> +auxiliary_exists(const char *name) {
> + DIR *dir;
> + char dirname[PATH_MAX];
> +
> + snprintf(dirname, sizeof(dirname), "%s/%s",
> + rte_auxiliary_get_sysfs_path(), name);
> + dir = opendir(rte_auxiliary_get_sysfs_path());
> + if (dir == NULL)
> + return true;Should return false here. > + closedir(dir); > + return false; Return true, will fix in next version. > +} <snip>

