diff options
Diffstat (limited to 'lib/vbexport/boot_device.c')
-rw-r--r-- | lib/vbexport/boot_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vbexport/boot_device.c b/lib/vbexport/boot_device.c index 8b842e1a0a..11daea2176 100644 --- a/lib/vbexport/boot_device.c +++ b/lib/vbexport/boot_device.c @@ -50,7 +50,7 @@ int boot_device_matches(const block_dev_desc_t *dev, { *flags = dev->removable ? VB_DISK_FLAG_REMOVABLE : VB_DISK_FLAG_FIXED; - return (*flags & disk_flags) == disk_flags; + return (*flags & disk_flags) == disk_flags && dev->lba; } /** |