aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-02-03 16:00:06 +0000
committerMichael Brown <mcb30@ipxe.org>2021-02-03 16:00:06 +0000
commit885c6d6e985c68cc89a7458afad0bf39637ec66e (patch)
treee905f3cd4b9b4f5bfe880308d648e1a38036341e
parent5bdb75c9d0a3616cb22fea662ddd763c81a3d9c6 (diff)
downloadipxe-885c6d6e985c68cc89a7458afad0bf39637ec66e.zip
ipxe-885c6d6e985c68cc89a7458afad0bf39637ec66e.tar.gz
ipxe-885c6d6e985c68cc89a7458afad0bf39637ec66e.tar.bz2
[efi] Fix erroneous comparison of a pointer against userptr_t
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-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 6e8f9df..f7993b0 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 */