aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/ld-measurement.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-measurement.c')
-rw-r--r--locale/programs/ld-measurement.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/locale/programs/ld-measurement.c b/locale/programs/ld-measurement.c
index 07eb3cb032..e2cfa6a6ba 100644
--- a/locale/programs/ld-measurement.c
+++ b/locale/programs/ld-measurement.c
@@ -141,6 +141,11 @@ measurement_output (struct localedef_t *locale, struct charmap_t *charmap,
iov[cnt].iov_len = 1;
++cnt;
+ idx[cnt - 2] = iov[0].iov_len + iov[1].iov_len;
+ iov[cnt].iov_base = (void *) charmap->code_set_name;
+ iov[cnt].iov_len = strlen (iov[cnt].iov_base) + 1;
+ ++cnt;
+
assert (cnt == 2 + _NL_ITEM_INDEX (_NL_NUM_LC_MEASUREMENT));
write_locale_data (output_path, "LC_MEASUREMENT",