Sebastian Herbszt
2011-May-09 21:37 UTC
[syslinux] [PATCH] 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> 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 ;