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
b7fd4888f8
commit
c8313b3029
@ -204,7 +204,7 @@ efipart_readwrite(EFI_BLOCK_IO *blkio, int rw, daddr_t blk, daddr_t nblks,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (EFI_ERROR(status))
|
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));
|
return (efi_status_to_errno(status));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user