aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/altmbr.S
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-03-21 15:56:02 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-03-21 15:56:02 -0700
commit794ff174175734a0974e1846f0db29040b096e45 (patch)
treeaf404b0da61136448076319938a5bb7590ab4cac /mbr/altmbr.S
parent03b7abe21e916d15eb381c17aeb153734fdfb7db (diff)
downloadsyslinux-794ff174175734a0974e1846f0db29040b096e45.tar.gz
syslinux-794ff174175734a0974e1846f0db29040b096e45.tar.xz
syslinux-794ff174175734a0974e1846f0db29040b096e45.zip
altmbr: actually invoke the correct partitionsyslinux-4.06-pre2
We would fail to correctly invoke primary partitions 2-4 because of a register usage bug. Reported-by: Maxim Kammerer <mk@dee.su> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mbr/altmbr.S')
-rw-r--r--mbr/altmbr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/altmbr.S b/mbr/altmbr.S
index 1b609051..c66b4ddc 100644
--- a/mbr/altmbr.S
+++ b/mbr/altmbr.S
@@ -204,7 +204,7 @@ scan_partition_table:
5:
decb (partition)
jz boot
- addw $16, %bx
+ addw $16, %si
loopw 5b
popw %cx /* %cx <- 4 */