Changeset 1244


Ignore:
Timestamp:
Mar 16, 2007, 1:22:21 AM (13 years ago)
Author:
bruno
Message:

Fix a memory allocation pb with sz_size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-devices.c

    r1180 r1244  
    14981498            } else if (bkpinfo->backup_media_type == usb) {
    14991499                strcpy(bkpinfo->media_device, VANILLA_USB_DEVICE);
    1500                 strcpy(sz_size, "512");
     1500                asprintf(&sz_size, "512");
    15011501            } else {
    15021502                strcpy(bkpinfo->media_device, VANILLA_SCSI_CDROM);
Note: See TracChangeset for help on using the changeset viewer.