Ignore:
Timestamp:
Nov 10, 2016, 9:09:54 PM (7 years ago)
Author:
Bruno Cornec
Message:

Remove more static allocation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/mondorestore/mondo-prep.c

    r3610 r3611  
    18391839    mr_asprintf(partcode, "");
    18401840} else if (strlen(format) >= 1 && strlen(format) <= 2) {
    1841     mr_asprintf(partcode, format);
     1841    mr_asprintf(partcode, "%s", format);
    18421842} else {
    18431843    /* probably an image */
     
    18471847
    18481848#ifdef __FreeBSD__
    1849     mr_asprintf(partcode, format);  // was a5
     1849    mr_asprintf(partcode, "%s", format);    // was a5
    18501850#else
    1851     mr_asprintf(partcode, format);  // was 83
     1851    mr_asprintf(partcode, "%s", format);    // was 83
    18521852#endif
    18531853}
Note: See TracChangeset for help on using the changeset viewer.