Browse Source

Fixed the block count in error message about read attempt after medium end

release-1.5.2.pl01
Thomas Schmitt 5 years ago
parent
commit
113f5873cb
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      libburn/read.c

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2017.02.06.161439"
#define Cdrskin_timestamP "2017.07.15.194129"

2
libburn/read.c

@ -498,7 +498,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
sprintf(msg,
"Read start address %ds larger than number of readable blocks %d",
(int) (byte_address / 2048 + !!(byte_address % 2048)),
d->media_read_capacity);
d->media_read_capacity + 1);
libdax_msgs_submit(libdax_messenger, d->global_index,
0x00020172, (flag & 32) ?
LIBDAX_MSGS_SEV_DEBUG : LIBDAX_MSGS_SEV_SORRY,

Loading…
Cancel
Save