Corrected a flaw found by George Danchev with cpp

This commit is contained in:
Thomas Schmitt 2011-02-24 19:17:06 +00:00
parent b376be3b6a
commit 9af390fc51
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.02.23.195650" #define Cdrskin_timestamP "2011.02.24.191718"

View File

@ -355,7 +355,7 @@ void burn_disc_erase(struct burn_drive *drive, int fast)
/* a ssert(!find_worker(drive)); */ /* a ssert(!find_worker(drive)); */
if((drive == NULL)) { if((drive == NULL)) {
libdax_msgs_submit(libdax_messenger, drive->global_index, libdax_msgs_submit(libdax_messenger, -1,
0x00020104, 0x00020104,
LIBDAX_MSGS_SEV_SORRY, LIBDAX_MSGS_PRIO_HIGH, LIBDAX_MSGS_SEV_SORRY, LIBDAX_MSGS_PRIO_HIGH,
"NULL pointer caught in burn_disc_erase", 0, 0); "NULL pointer caught in burn_disc_erase", 0, 0);