aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller/syslxint.h
diff options
context:
space:
mode:
Diffstat (limited to 'libinstaller/syslxint.h')
-rw-r--r--libinstaller/syslxint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libinstaller/syslxint.h b/libinstaller/syslxint.h
index 39098def..3f50e32c 100644
--- a/libinstaller/syslxint.h
+++ b/libinstaller/syslxint.h
@@ -136,7 +136,7 @@ struct boot_sector {
} __attribute__((packed));
#define bsHead bsJump
-#define bsHeadLen offsetof(struct boot_sector, bsJump)
+#define bsHeadLen offsetof(struct boot_sector, bsOemName)
#define bsCode bs32.Code /* The common safe choice */
#define bsCodeLen (offsetof(struct boot_sector, bsSignature) - \
offsetof(struct boot_sector, bsCode))