Ignore:
Timestamp:
Jul 21, 2009, 3:26:16 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3289@localhost: bruno | 2009-07-21 15:12:29 +0200

  • Replace sprintf by mr_asprintf in mondorestore.c
  • Remove usless option -pih in mondorestore
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c

    r2282 r2287  
    21852185    device[0] = '\0';
    21862186    chdir(bkpinfo->tmpdir);
    2187     mr_asprintf(cfg_file, "%s", MONDO_CFG_FILE_STUB);
     2187    mr_asprintf(&cfg_file, "%s", MONDO_CFG_FILE_STUB);
    21882188    unlink(cfg_file);           // cfg_file[] is missing the '/' at the start, FYI, by intent
    21892189    mr_free(cfg_file);
Note: See TracChangeset for help on using the changeset viewer.