partitions/efi: Fix off-by-one error in 'last_lba'
LBAs are numbered starting from zero so the last LBA # would be equal
to total number of blocks minus one.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9a4cb25 commit 84dc21e1853459d3d9cb0d53a13039eb128fad7d
@Andrey Smirnov Andrey Smirnov authored on 10 Nov 2014
Sascha Hauer committed on 11 Nov 2014
Showing 1 changed file
View
common/partitions/efi.c