Reporting (still cryptic) details about refusal to blank

1.2.6
Thomas Schmitt 10 years ago
parent fa2508bfd5
commit 7ed8619a9e
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 9
      libburn/async.c

@ -1 +1 @@
#define Cdrskin_timestamP "2012.10.02.134821"
#define Cdrskin_timestamP "2012.10.24.095725"

@ -395,11 +395,16 @@ void burn_disc_erase(struct burn_drive *drive, int fast)
||
(drive->drive_role != 1 && drive->drive_role != 5)
) {
char msg[160];
sprintf(msg, "Drive and media state unsuitable for blanking. (role= %d , profile= 0x%x , status= %d)",
drive->drive_role,
(unsigned int) drive->current_profile,
drive->status);
libdax_msgs_submit(libdax_messenger, drive->global_index,
0x00020130,
LIBDAX_MSGS_SEV_SORRY, LIBDAX_MSGS_PRIO_HIGH,
"Drive and media state unsuitable for blanking",
0, 0);
msg, 0, 0);
return;
}

Loading…
Cancel
Save