summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/alphasort.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent/alphasort.c')
-rw-r--r--libc/misc/dirent/alphasort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/dirent/alphasort.c b/libc/misc/dirent/alphasort.c
index 55980d115..67b3b7859 100644
--- a/libc/misc/dirent/alphasort.c
+++ b/libc/misc/dirent/alphasort.c
@@ -10,7 +10,7 @@
int alphasort(const struct dirent **a, const struct dirent **b)
{
- return strcmp((*a)->d_name, (*b)->d_name);
+ return strcoll((*a)->d_name, (*b)->d_name);
}
#if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64
strong_alias_untyped(alphasort,alphasort64)