From 61d5a67f536dc80a8741e8abb67df2c2cfa6fd17 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 28 Apr 2007 06:40:56 +0000 Subject: [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. --- locale/programs/ld-collate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'locale/programs') diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index a4f491c..0656a97 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; -- cgit v1.1