summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-06-22 13:39:44 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-06-22 13:39:44 -0700
commit69b452c119efc58941708e98c9d9707e48ff6f76 (patch)
tree4b1ea67b091b34fa9f821291cc9c59c2c672b289
parent77d76c3ff1d922cda47754bdce98807e9a560585 (diff)
downloadsyslinux-69b452c119efc58941708e98c9d9707e48ff6f76.tar.gz
sysdump, be_srec: increment the address
Need to increment the address for each srec... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--com32/sysdump/be_srec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/sysdump/be_srec.c b/com32/sysdump/be_srec.c
index 3b52b1af..fc69c886 100644
--- a/com32/sysdump/be_srec.c
+++ b/com32/sysdump/be_srec.c
@@ -68,6 +68,7 @@ static int be_srec_write(struct backend *be)
write_srecord(chunk, 4, offset, '3', buf);
buf += chunk;
len -= chunk;
+ offset += chunk;
}
/* Write termination record */