summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'block-vvfat.c')
-rw-r--r--block-vvfat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block-vvfat.c b/block-vvfat.c
index 5fcf7462e..7d4c934d3 100644
--- a/block-vvfat.c
+++ b/block-vvfat.c
@@ -1056,7 +1056,7 @@ DLOG(if (stderr == NULL) {
i = strrchr(dirname, ':') - dirname;
assert(i >= 3);
- if (dirname[i-2] == ':' && isalpha(dirname[i-1]))
+ if (dirname[i-2] == ':' && qemu_isalpha(dirname[i-1]))
/* workaround for DOS drive names */
dirname += i-1;
else