aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-05-20 16:55:10 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2014-05-20 16:55:10 -0700
commit93f89ce6697adffcb3b40d758445ff9adf18b6d4 (patch)
tree87ecf3431e28575c45bb821cb1a4f0258c4b7ab6 /extlinux
parent37eef6403a44cd7de97ce997cf899c0824792ce4 (diff)
downloadsyslinux-93f89ce6697adffcb3b40d758445ff9adf18b6d4.tar.gz
syslinux-93f89ce6697adffcb3b40d758445ff9adf18b6d4.tar.xz
syslinux-93f89ce6697adffcb3b40d758445ff9adf18b6d4.zip
btrfs: fix typo in definition of BTRFS_ADV_OFFSET
Correct the macros used in BTRFS_ADV_OFFSET. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'extlinux')
-rw-r--r--extlinux/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extlinux/main.c b/extlinux/main.c
index 7271a766..84687292 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -86,7 +86,8 @@
#define BTRFS_SUBVOL_MAX 256 /* By btrfs specification */
static char subvol[BTRFS_SUBVOL_MAX];
-#define BTRFS_ADV_OFFSET (BOOT_AREA_A_OFFSET + BOOT_AREA_A_SIZE - 2*ADV_SIZE)
+#define BTRFS_ADV_OFFSET (BTRFS_BOOT_AREA_A_OFFSET + BTRFS_BOOT_AREA_A_SIZE \
+ - 2*ADV_SIZE)
/*
* Get the size of a block device