Made burn_drive_scan() refuse work on non-empty drive list.

This commit is contained in:
2007-09-07 15:50:31 +00:00
parent 5283401fb0
commit 8e171c89a6
5 changed files with 12 additions and 6 deletions

View File

@ -107,7 +107,7 @@ void burn_finish(void)
/* ts A61007 */
/* burn_wait_all(); */
if (!burn_drives_are_clear()) {
if (!burn_drives_are_clear(0)) {
libdax_msgs_submit(libdax_messenger, -1, 0x00020107,
LIBDAX_MSGS_SEV_SORRY, LIBDAX_MSGS_PRIO_HIGH,
"Drive is busy on attempt to shut down library", 0, 0);