diff options
Diffstat (limited to 'bootdevice.c')
-rw-r--r-- | bootdevice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootdevice.c b/bootdevice.c index aac0ffbcef..a38479a72a 100644 --- a/bootdevice.c +++ b/bootdevice.c @@ -77,6 +77,7 @@ void add_boot_device_path(int32_t bootindex, DeviceState *dev, FWBootEntry *node, *i; if (bootindex < 0) { + del_boot_device_path(dev, suffix); return; } |