[syslinux:master] sysdump, be_srec: increment the address

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Tue Jun 22 14:36:14 PDT 2010


Commit-ID:  69b452c119efc58941708e98c9d9707e48ff6f76
Gitweb:     http://syslinux.zytor.com/commit/69b452c119efc58941708e98c9d9707e48ff6f76
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 22 Jun 2010 13:39:44 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 22 Jun 2010 13:39:44 -0700

sysdump, be_srec: increment the address

Need to increment the address for each srec...

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 com32/sysdump/be_srec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/com32/sysdump/be_srec.c b/com32/sysdump/be_srec.c
index 3b52b1a..fc69c88 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 */



More information about the Syslinux-commits mailing list