diff options
Diffstat (limited to 'locale/programs/ld-measurement.c')
-rw-r--r-- | locale/programs/ld-measurement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-measurement.c b/locale/programs/ld-measurement.c index 2aa75b4..e3ec901 100644 --- a/locale/programs/ld-measurement.c +++ b/locale/programs/ld-measurement.c @@ -143,7 +143,7 @@ measurement_output (struct localedef_t *locale, iov[cnt].iov_len = 1; ++cnt; - idx[cnt - 2] = iov[0].iov_len + iov[1].iov_len; + idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len; iov[cnt].iov_base = (void *) charmap->code_set_name; iov[cnt].iov_len = strlen (iov[cnt].iov_base) + 1; ++cnt; |