[efi] Fix incorrect debug message level when device has no device path
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
79419a1c69
commit
608fb792eb
@ -261,8 +261,8 @@ efi_driver_start ( EFI_DRIVER_BINDING_PROTOCOL *driver __unused,
|
|||||||
&devpath.interface,
|
&devpath.interface,
|
||||||
efi_image_handle, device,
|
efi_image_handle, device,
|
||||||
EFI_OPEN_PROTOCOL_BY_DRIVER ) ) != 0){
|
EFI_OPEN_PROTOCOL_BY_DRIVER ) ) != 0){
|
||||||
DBGCP ( device, "EFIDRV %p %s has no device path\n",
|
DBGC ( device, "EFIDRV %p %s has no device path\n",
|
||||||
device, efi_handle_devpath_text ( device ) );
|
device, efi_handle_devpath_text ( device ) );
|
||||||
goto err_no_device_path;
|
goto err_no_device_path;
|
||||||
}
|
}
|
||||||
efidev->path = devpath.devpath;
|
efidev->path = devpath.devpath;
|
||||||
|
Reference in New Issue
Block a user