From ed811f45e6f1087a05667dfafb0709ab0f167883 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 13 Mar 2011 19:26:30 +0000 Subject: [PATCH] Changed severity of "Read attempt on write-only drive" from FATAL to FAILURE --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/libdax_msgs.h | 2 +- libburn/read.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 28ccf0d..93d2994 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.03.13.130850" +#define Cdrskin_timestamP "2011.03.13.192627" diff --git a/libburn/libdax_msgs.h b/libburn/libdax_msgs.h index 30c9c56..2e8adb3 100644 --- a/libburn/libdax_msgs.h +++ b/libburn/libdax_msgs.h @@ -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 diff --git a/libburn/read.c b/libburn/read.c index f2e10d4..d44cebd 100644 --- a/libburn/read.c +++ b/libburn/read.c @@ -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; }