summaryrefslogtreecommitdiff
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-11-14 15:01:28 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-11-14 15:01:28 -0800
commitd2520f1b46d08fe2879a93c81973df67834fea17 (patch)
tree660160c9e8faa7711f272daec19b1af3213743b7 /mbr
parent00472b0aa8083fafa0f27723c1a1a8a77d2542ed (diff)
downloadsyslinux-d2520f1b46d08fe2879a93c81973df67834fea17.tar.gz
mbr.S: fix loading from logical partitions
Fix loading from logical partitions (a push/pop pair was not done in reverse order.)
Diffstat (limited to 'mbr')
-rw-r--r--mbr/mbr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/mbr.S b/mbr/mbr.S
index 2a318be3..63622d9e 100644
--- a/mbr/mbr.S
+++ b/mbr/mbr.S
@@ -207,8 +207,8 @@ scan_partition_table:
jns too_many_active
/* No active partitions found, look for extended partitions */
- popw %bx /* %bx <- ptab */
popw %cx /* %cx <- 4 */
+ popw %bx /* %bx <- ptab */
7:
movb 4(%bx), %al
cmpb $0x0f, %al /* 0x0f = Win9x extended */