diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 15:31:48 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 15:31:48 -0800 |
commit | eaaf9a75bb6767b00db51518dffadd714199741d (patch) | |
tree | fb2fa07156c4f0029a2ff0c5714f43433958e981 /mbr/gptmbr.S | |
parent | 936c90a8528c98dc25161806777202d06fab94fd (diff) | |
download | syslinux-eaaf9a75bb6767b00db51518dffadd714199741d.tar.gz |
gptmbr: another confusion of start and end fields
Use the start field for the boot sector address...
Diffstat (limited to 'mbr/gptmbr.S')
-rw-r--r-- | mbr/gptmbr.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S index 8e8b952f..10dfd45a 100644 --- a/mbr/gptmbr.S +++ b/mbr/gptmbr.S @@ -192,8 +192,8 @@ found_part: * partition information in memory. */ boot: - movl (40+16)(%si),%eax - movl (48+16)(%si),%edx + movl (32+16)(%si),%eax + movl (36+16)(%si),%edx movw $bootsec,%bx call read_sector cmpw $0xaa55, -2(%bx) |