From 6ba323bb692086e33c86e26021ec243e9388f366 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Thu, 19 Oct 2017 15:12:00 -0600 Subject: [PATCH] aiori: accept any case when selecting backend Signed-off-by: Nathan Hjelm --- src/aiori.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiori.c b/src/aiori.c index 678fc14..95d3a07 100644 --- a/src/aiori.c +++ b/src/aiori.c @@ -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; }