diff options
Diffstat (limited to 'common/partitions')
-rw-r--r-- | common/partitions/efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/partitions/efi.c b/common/partitions/efi.c index dcb95414f6..61abf00050 100644 --- a/common/partitions/efi.c +++ b/common/partitions/efi.c @@ -55,7 +55,7 @@ static u64 last_lba(struct block_device *bdev) { if (!bdev) return 0; - return bdev->num_blocks; + return bdev->num_blocks - 1; } /** |