Browse Source

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

release-1.5.2.pl01
Thomas Schmitt 3 years ago
parent
commit
113f5873cb
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cdrskin/cdrskin_timestamp.h
  2. +1
    -1
      libburn/read.c

+ 1
- 1
cdrskin/cdrskin_timestamp.h View File

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

+ 1
- 1
libburn/read.c View File

@ -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