aboutsummaryrefslogtreecommitdiff
path: root/locale/programs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-28 06:40:56 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-28 06:40:56 +0000
commit61d5a67f536dc80a8741e8abb67df2c2cfa6fd17 (patch)
tree12c1e776fcffc2cf1292031386990a1a3da0a992 /locale/programs
parent1bb5f5a1c526c5195e7ae54c98dac71f53a941c1 (diff)
downloadglibc-61d5a67f536dc80a8741e8abb67df2c2cfa6fd17.tar
glibc-61d5a67f536dc80a8741e8abb67df2c2cfa6fd17.tar.gz
glibc-61d5a67f536dc80a8741e8abb67df2c2cfa6fd17.tar.bz2
glibc-61d5a67f536dc80a8741e8abb67df2c2cfa6fd17.zip
[BZ #3213]
* locale/programs/ld-collate.c (collate_read): Fix printing of error message. [BZ #3213] * locale/C-translit.h.in: Add entry for U2044.
Diffstat (limited to 'locale/programs')
-rw-r--r--locale/programs/ld-collate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index a4f491cd28..0656a97dab 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -3154,8 +3154,9 @@ error while adding equivalent collating symbol"));
if (sp == NULL)
{
lr_error (ldfile, _("\
-%s: unknown section name `%s'"),
- "LC_COLLATE", arg->val.str.startmb);
+%s: unknown section name `%.*s'"),
+ "LC_COLLATE", (int) arg->val.str.lenmb,
+ arg->val.str.startmb);
/* We use the error section. */
collate->current_section = &collate->error_section;