mirror of https://github.com/ipxe/ipxe.git
[efi] Fix debug message when reading from EFI virtual files
Show the requested range when a caller reads from a virtual file via the EFI_SIMPLE_FILE_SYSTEM_PROTOCOL interface. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/895/head
parent
76a286530a
commit
cf9ad00afc
|
@ -528,7 +528,7 @@ static EFI_STATUS EFIAPI efi_file_read ( EFI_FILE_PROTOCOL *this,
|
||||||
|
|
||||||
/* Read from the file */
|
/* Read from the file */
|
||||||
DBGC ( file, "EFIFILE %s read [%#08zx,%#08zx)\n",
|
DBGC ( file, "EFIFILE %s read [%#08zx,%#08zx)\n",
|
||||||
efi_file_name ( file ), pos, file->pos );
|
efi_file_name ( file ), pos, ( ( size_t ) ( pos + *len ) ) );
|
||||||
*len = file->read ( &reader );
|
*len = file->read ( &reader );
|
||||||
assert ( ( pos + *len ) == file->pos );
|
assert ( ( pos + *len ) == file->pos );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue