Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/util/virutil.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/virutil.c b/src/util/virutil.c
index f965bb0e5d..f3cf494353 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -393,11 +393,11 @@ int virDiskNameParse(const char *name, int *disk, int *partition)
}
}
- if (!ptr || !c_islower(*ptr))
+ if (!ptr || !g_ascii_islower(*ptr))
return -1;
for (i = 0; *ptr; i++) {
- if (!c_islower(*ptr))
+ if (!g_ascii_islower(*ptr))
break;
idx = (idx + (i < 1 ? 0 : 1)) * 26;
--
2.23.0