Made burn_read_data() issue messages about hopeless drive access errors
This commit is contained in:
parent
bed900f3f4
commit
d66a40bc0e
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2008.01.19.201702"
|
#define Cdrskin_timestamP "2008.01.23.193345"
|
||||||
|
@ -377,7 +377,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
|
|||||||
|
|
||||||
fd = open(d->devname, O_RDONLY | O_LARGEFILE);
|
fd = open(d->devname, O_RDONLY | O_LARGEFILE);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
if (!(flag & 2))
|
if (errno != ENOENT || !(flag & 2))
|
||||||
libdax_msgs_submit(libdax_messenger,
|
libdax_msgs_submit(libdax_messenger,
|
||||||
d->global_index,
|
d->global_index,
|
||||||
0x00020005,
|
0x00020005,
|
||||||
|
Loading…
Reference in New Issue
Block a user