mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Revert previous commit: EFI_STATUS is a 64-bit integral on ia64. Fix the
compile warning on i386 (where EFI_STATUS is a 32-bit integral) by casting the status argument to u_long instead. Pointy hat: brucec MFC after: 3 days
This commit is contained in:
parent
dd888c677b
commit
e681e3cd56
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ efipart_readwrite(EFI_BLOCK_IO *blkio, int rw, daddr_t blk, daddr_t nblks,
|
|||
}
|
||||
|
||||
if (EFI_ERROR(status))
|
||||
printf("%s: rw=%d, status=%u\n", __func__, rw, status);
|
||||
printf("%s: rw=%d, status=%lu\n", __func__, rw, (u_long)status);
|
||||
return (efi_status_to_errno(status));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue