summaryrefslogtreecommitdiffstats
path: root/src/interface/efi
diff options
context:
space:
mode:
authorMichael Brown2021-02-03 17:00:06 +0100
committerMichael Brown2021-02-03 17:00:06 +0100
commit885c6d6e985c68cc89a7458afad0bf39637ec66e (patch)
treee905f3cd4b9b4f5bfe880308d648e1a38036341e /src/interface/efi
parent[contrib] Update bochsrc.txt to work with current versions (diff)
downloadipxe-885c6d6e985c68cc89a7458afad0bf39637ec66e.tar.gz
ipxe-885c6d6e985c68cc89a7458afad0bf39637ec66e.tar.xz
ipxe-885c6d6e985c68cc89a7458afad0bf39637ec66e.zip
[efi] Fix erroneous comparison of a pointer against userptr_t
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
-rw-r--r--src/interface/efi/efi_autoboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/efi/efi_autoboot.c b/src/interface/efi/efi_autoboot.c
index 6e8f9df63..f7993b068 100644
--- a/src/interface/efi/efi_autoboot.c
+++ b/src/interface/efi/efi_autoboot.c
@@ -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 */