about summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/iconv_prog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 5a08a21819..82ff5cf802 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -516,15 +516,15 @@ print_known_names (void)
 	{
 	  if (strcmp (__gconv_modules_db[cnt]->from_constpfx, "INTERNAL"))
 	    tsearch (__gconv_modules_db[cnt]->from_constpfx, &printlist,
-		     (__compar_fn_t) strcoll);
+		     (__compar_fn_t) strverscmp);
 	  if (strcmp (__gconv_modules_db[cnt]->to_string, "INTERNAL"))
 	    tsearch (__gconv_modules_db[cnt]->to_string, &printlist,
-		     (__compar_fn_t) strcoll);
+		     (__compar_fn_t) strverscmp);
 	}
       else
 	if (strcmp (__gconv_modules_db[cnt]->from_pattern, "INTERNAL"))
 	  tsearch (__gconv_modules_db[cnt]->from_pattern, &printlist,
-		   (__compar_fn_t) strcoll);
+		   (__compar_fn_t) strverscmp);
     }
 
   fputs (_("\