[syslinux] [PATCH] core: fix pc_setint16 and pc_setint32
Sebastian Herbszt
herbszt at gmx.de
Mon May 9 14:37:46 PDT 2011
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>
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index 51a6d8d..8f4115b 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -131,7 +131,7 @@ pc_setint16:
call getint
pop di
jc .err
- mov [si],bx
+ mov [di],bx
.err: ret
pc_setint32:
@@ -139,7 +139,7 @@ pc_setint32:
call getint
pop di
jc .err
- mov [si],ebx
+ mov [di],ebx
.err: ret
;
More information about the Syslinux
mailing list