diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-06-20 17:01:15 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-06-20 17:07:52 -0700 |
commit | 2ef260d392537d22c927735e6b9e78b02d36bb7b (patch) | |
tree | 2613b5e58834702827a0523df98b2fc24683f9b2 /libinstaller/syslxint.h | |
parent | 8cf2a1fb42a61f6d19afee86f52ff260fabd1cfa (diff) | |
download | syslinux-2ef260d392537d22c927735e6b9e78b02d36bb7b.tar.gz |
Merge syslinux/extlinux patch code and core code
Merge the SYSLINUX and EXTLINUX patching code and core code, removing
EXTLINUX as a separate derivative. All the disk-based systems now use
the same code.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'libinstaller/syslxint.h')
-rw-r--r-- | libinstaller/syslxint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libinstaller/syslxint.h b/libinstaller/syslxint.h index 3af7c3d7..f16c2e5c 100644 --- a/libinstaller/syslxint.h +++ b/libinstaller/syslxint.h @@ -238,7 +238,7 @@ struct boot_sector { } __attribute__ ((packed)); #define bsHead bsJump -#define bsHeadLen offsetof(struct boot_sector, bsOemName) +#define bsHeadLen offsetof(struct boot_sector, bsBytesPerSec) #define bsCode bs32.Code /* The common safe choice */ #define bsCodeLen (offsetof(struct boot_sector, bsSignature) - \ offsetof(struct boot_sector, bsCode)) |