[efi] Fix erroneous comparison of a pointer against userptr_t

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/252/head
Michael Brown 2021-02-03 16:00:06 +00:00
parent 5bdb75c9d0
commit 885c6d6e98
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ static int efi_load_autoexec ( EFI_HANDLE device ) {
int rc;
/* Sanity check */
assert ( efi_autoexec == UNULL );
assert ( efi_autoexec == NULL );
assert ( efi_autoexec_len == 0 );
/* Open simple file system protocol */