aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-collate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index e901558bd1..6d238a658e 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -1315,7 +1315,7 @@ order for `%.*s' already defined at %s:%Zu"),
int cnt;
/* Generate the the name. */
- sprintf (buf + preflen, base == 10 ? "%ld" : "%lx", from);
+ sprintf (buf + preflen, base == 10 ? "%ld" : "%lX", from);
/* Look whether this name is already defined. */
if (find_entry (&collate->seq_table, buf, symlen,