mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[efi] Check correct return value from efi_pxe_find()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1679,7 +1679,7 @@ void efi_pxe_uninstall ( EFI_HANDLE handle ) {
|
|||||||
|
|
||||||
/* Locate PXE base code */
|
/* Locate PXE base code */
|
||||||
pxe = efi_pxe_find ( handle );
|
pxe = efi_pxe_find ( handle );
|
||||||
if ( ! handle ) {
|
if ( ! pxe ) {
|
||||||
DBG ( "PXE could not find base code for %s\n",
|
DBG ( "PXE could not find base code for %s\n",
|
||||||
efi_handle_name ( handle ) );
|
efi_handle_name ( handle ) );
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user