From: Michael Brown Date: Wed, 3 Feb 2021 16:00:06 +0000 (+0000) Subject: [efi] Fix erroneous comparison of a pointer against userptr_t X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=885c6d6e985c68cc89a7458afad0bf39637ec66e;p=thirdparty%2Fipxe.git [efi] Fix erroneous comparison of a pointer against userptr_t Signed-off-by: Michael Brown --- 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 */