aboutsummaryrefslogtreecommitdiff
path: root/locale/programs
diff options
context:
space:
mode:
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;