aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/vms-lib.c')
-rw-r--r--bfd/vms-lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
index c959df9..13a4fa8 100644
--- a/bfd/vms-lib.c
+++ b/bfd/vms-lib.c
@@ -2111,6 +2111,7 @@ _bfd_vms_lib_write_archive_contents (bfd *arch)
/* Write the first block (which contains an mhd). */
if (bfd_bwrite (blk, VMS_BLOCK_SIZE, arch) != VMS_BLOCK_SIZE)
goto input_err;
+ off += VMS_BLOCK_SIZE;
if (amt == VMS_BLOCK_SIZE - sz)
{