[syslinux:lwip] core: fix pc_setint16 and pc_setint32

syslinux-bot for Sebastian Herbszt herbszt at gmx.de
Mon May 9 14:57:42 PDT 2011


Commit-ID:  2c41001eef96fb913d2280948cdc8954ea05cdba
Gitweb:     http://syslinux.zytor.com/commit/2c41001eef96fb913d2280948cdc8954ea05cdba
Author:     Sebastian Herbszt <herbszt at gmx.de>
AuthorDate: Mon, 9 May 2011 23:37:46 +0200
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Mon, 9 May 2011 14:54:52 -0700

core: fix pc_setint16 and pc_setint32

Commit "Generalize ipappend handling as "sysappend", and move to PM code"
changed destination from si to di; fix move.

Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 core/parseconfig.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index a846b5a..415c8f7 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -140,7 +140,7 @@ pc_setint16:
 		call getint
 		pop di
 		jc .err
-		mov [si],bx
+		mov [di],bx
 .err:		ret
 
 pc_setint32:
@@ -148,7 +148,7 @@ pc_setint32:
 		call getint
 		pop di
 		jc .err
-		mov [si],ebx
+		mov [di],ebx
 .err:		ret
 
 ;



More information about the Syslinux-commits mailing list