Changeset 3633 in MondoRescue for branches/3.3


Ignore:
Timestamp:
Dec 21, 2016, 5:51:08 PM (7 years ago)
Author:
Bruno Cornec
Message:

Small optimisation for string to partition

File:
1 edited

Legend:

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

    r3611 r3633  
    16221622if (pout_to_fdisk) {
    16231623    log_msg(1, "Doing the new all-in-one fdisk thing");
     1624    mr_strcat(output, "\n\np\n\n");
    16241625    log_msg(1, "output = '%s'", output);
    16251626    fput_string_one_char_at_a_time(pout_to_fdisk, output);
    1626     fput_string_one_char_at_a_time(pout_to_fdisk, "\n\np\n");
    16271627    mr_asprintf(tmp, "%s", last_line_of_file(FDISK_LOG));
    16281628    if (strstr(tmp, " (m ")) {
     
    16921692}
    16931693mr_free(program);
    1694 paranoid_free(output);
     1694mr_free(output);
    16951695
    16961696g_current_progress++;
Note: See TracChangeset for help on using the changeset viewer.