summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-07 15:09:25 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-01-07 15:09:25 -0800
commit35215851f501118fabbc408338e3149e5fcfb146 (patch)
tree69254e19023f88be7692af489511e389f43dd9fa
parentc67c6138062b1b5dcc50c8b9b5dc1a49d0c565cb (diff)
downloadsyslinux-35215851f501118fabbc408338e3149e5fcfb146.tar.gz
Use the proper register when initializing a new ADV
-rw-r--r--adv.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/adv.inc b/adv.inc
index 807d1b52..989b4e0b 100644
--- a/adv.inc
+++ b/adv.inc
@@ -98,7 +98,7 @@ adv_verify:
jz .adv1ok
; Neither ADV is usable; initialize to blank
- mov si,adv0
+ mov di,adv0
mov eax,ADV_MAGIC1
stosd
mov eax,ADV_MAGIC2