Message ID | 1410514532-7984-7-git-send-email-arei.gonglei@huawei.com |
---|---|
State | New |
Headers | show |
diff --git a/bootdevice.c b/bootdevice.c index aac0ffb..a38479a 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; }