Changeset 2677 in MondoRescue


Ignore:
Timestamp:
Aug 25, 2010, 1:00:11 AM (10 years ago)
Author:
Bruno Cornec
Message:

r3980@localhost: bruno | 2010-08-25 00:58:00 +0200

  • Initialize extra_cdrom_params in any case tp avoid passing null to cdrecord later on
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-tools.c

    r2658 r2677  
    497497            mr_asprintf(&extra_cdrom_params, "blank=fast ");
    498498        }
     499        if (extra_cdrom_params == NULL) {
     500            // If not initialized earlier, do it now
     501            mr_asprintf(&extra_cdrom_params, " ");
     502        }
    499503        if (find_home_of_exe("cdrecord")) {
    500504            strcpy(cdr_exe, "cdrecord");
Note: See TracChangeset for help on using the changeset viewer.