[efi] Fix erroneous comparison of a pointer against userptr_t

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2021-02-03 16:00:06 +00:00
parent 5bdb75c9d0
commit 885c6d6e98

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 */