diskboot: correct the patching of the floppy table syslinux-4.04-pre7
authorH. Peter Anvin <hpa@zytor.com>
Sun, 6 Feb 2011 22:21:36 +0000 (14:21 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 6 Feb 2011 22:21:36 +0000 (14:21 -0800)
commit5c9308928dad6d68a3a46deab01cfe2177278d60
tree43fedac2990c2a8ab0ca4016130bd778cded0c4f
parente0494be7b038a05dfe1093d2c1abde3599d6270f
diskboot: correct the patching of the floppy table

The floppy table patching was somehow messed up when converting to
GPT.  The proper offset of FloppyTable at the point we patch is
[di-12] and we use offset +4 inside that field.

Reported-by: Juergen <jlborries@online.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/diskboot.inc