aiori: accept any case when selecting backend

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
master
Nathan Hjelm 2017-10-19 15:12:00 -06:00
parent 0c9921dc0d
commit 6ba323bb69
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ static int aiori_stat (const char *path, struct stat *buf, IOR_param_t * param)
const ior_aiori_t *aiori_select (const char *api)
{
for (ior_aiori_t **tmp = available_aiori ; *tmp != NULL; ++tmp) {
if (NULL == api || strcmp(api, (*tmp)->name) == 0) {
if (NULL == api || strcasecmp(api, (*tmp)->name) == 0) {
if (NULL == (*tmp)->statfs) {
(*tmp)->statfs = aiori_statfs;
}