From: H. Peter Anvin Date: Tue, 22 Jun 2010 20:39:44 +0000 (-0700) Subject: sysdump, be_srec: increment the address X-Git-Tag: syslinux-4.00-pre57~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69b452c119efc58941708e98c9d9707e48ff6f76;p=platform%2Fupstream%2Fsyslinux.git sysdump, be_srec: increment the address Need to increment the address for each srec... Signed-off-by: H. Peter Anvin --- 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 */