summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/alphasort64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent/alphasort64.c')
-rw-r--r--libc/misc/dirent/alphasort64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/dirent/alphasort64.c b/libc/misc/dirent/alphasort64.c
index ef1e83e45..6eb414241 100644
--- a/libc/misc/dirent/alphasort64.c
+++ b/libc/misc/dirent/alphasort64.c
@@ -13,6 +13,6 @@
int alphasort64(const struct dirent64 **a, const struct dirent64 **b)
{
- return strcmp((*a)->d_name, (*b)->d_name);
+ return strcoll((*a)->d_name, (*b)->d_name);
}
#endif