Changed severity of "Read attempt on write-only drive" from FATAL to FAILURE

This commit is contained in:
Thomas Schmitt 2011-03-13 19:26:30 +00:00
parent 1bca0fc078
commit 6ae78e2d4d
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.03.13.130850"
#define Cdrskin_timestamP "2011.03.13.192627"

View File

@ -519,7 +519,7 @@ Range "scdbackup" : 0x00020000 to 0x0002ffff
0x0002014d (SORRY,HIGH) = Asynchromous SCSI error
0x0002014f (SORRY,HIGH) = Timeout with asynchromous SCSI command
0x00020150 (DEBUG,LOW) = Reporting asynchronous waiting time
0x00020151 (FATAL,HIGH) = Read attempt on write-only drive
0x00020151 (FAILURE,HIGH) = Read attempt on write-only drive
0x00020152 (FATAL,HIGH) = Cannot start fifo thread
0x00020153 (SORRY,HIGH) = Read error on fifo input
0x00020154 (NOTE,HIGH) = Forwarded input error ends output

View File

@ -373,7 +373,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
} else if (d->drive_role == 3) {
libdax_msgs_submit(libdax_messenger, d->global_index,
0x00020151,
LIBDAX_MSGS_SEV_FATAL, LIBDAX_MSGS_PRIO_HIGH,
LIBDAX_MSGS_SEV_FAILURE, LIBDAX_MSGS_PRIO_HIGH,
"Read attempt on write-only drive", 0, 0);
return 0;
}