Fixed the block count in error message about read attempt after medium end
This commit is contained in:
parent
2bb8bf470d
commit
113f5873cb
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2017.02.06.161439"
|
#define Cdrskin_timestamP "2017.07.15.194129"
|
||||||
|
@ -498,7 +498,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
|
|||||||
sprintf(msg,
|
sprintf(msg,
|
||||||
"Read start address %ds larger than number of readable blocks %d",
|
"Read start address %ds larger than number of readable blocks %d",
|
||||||
(int) (byte_address / 2048 + !!(byte_address % 2048)),
|
(int) (byte_address / 2048 + !!(byte_address % 2048)),
|
||||||
d->media_read_capacity);
|
d->media_read_capacity + 1);
|
||||||
libdax_msgs_submit(libdax_messenger, d->global_index,
|
libdax_msgs_submit(libdax_messenger, d->global_index,
|
||||||
0x00020172, (flag & 32) ?
|
0x00020172, (flag & 32) ?
|
||||||
LIBDAX_MSGS_SEV_DEBUG : LIBDAX_MSGS_SEV_SORRY,
|
LIBDAX_MSGS_SEV_DEBUG : LIBDAX_MSGS_SEV_SORRY,
|
||||||
|
Loading…
Reference in New Issue
Block a user