about summary refs log tree commit diff
path: root/locale/programs/ld-paper.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-14 05:31:12 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-14 05:31:12 +0000
commit25bbbb54b867d0fa252a2dcb3a764690ce83dcd4 (patch)
tree72fc9e508a1d6f9f0afd23321b994be8b3619f27 /locale/programs/ld-paper.c
parentbe8c46fcefee7528d3a25171b1a189e1ae111337 (diff)
downloadglibc-25bbbb54b867d0fa252a2dcb3a764690ce83dcd4.tar.gz
glibc-25bbbb54b867d0fa252a2dcb3a764690ce83dcd4.tar.xz
glibc-25bbbb54b867d0fa252a2dcb3a764690ce83dcd4.zip
Update.
2001-02-13  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
Diffstat (limited to 'locale/programs/ld-paper.c')
-rw-r--r--locale/programs/ld-paper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c
index a3b54fd7d9..d0ca850863 100644
--- a/locale/programs/ld-paper.c
+++ b/locale/programs/ld-paper.c
@@ -138,7 +138,7 @@ paper_output (struct localedef_t *locale, struct charmap_t *charmap,
   iov[cnt].iov_len = 4;
   ++cnt;
 
-  idx[cnt - 2] = idx[cnt - 2] + iov[cnt - 1].iov_len;
+  idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len;
   iov[cnt].iov_base = &paper->width;
   iov[cnt].iov_len = 4;
   ++cnt;