Ignore:
Timestamp:
Jun 19, 2013, 8:34:46 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • First pass on svn merge -r 2935:3146 ../3.0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/mondo/src/mondorestore/mondo-rstr-newt.c

    r2937 r3147  
    137137    /** int **************************************************************/
    138138    int i = 0;
    139     int num_to_add = 0;
    140139
    141140    /** newt *************************************************************/
     
    233232    mr_asprintf(drive_to_add, "%s", device_str);
    234233    for (i = strlen(drive_to_add); isdigit(drive_to_add[i - 1]); i--);
    235     num_to_add = atoi(drive_to_add + i);
    236234    mr_free(drive_to_add);
    237235
     
    19431941        finish(1);
    19441942    }
    1945     newtPushHelpLine
    1946         ("   Please edit the mountlist to your satisfaction, then click OK or Cancel.");
     1943    newtPushHelpLine("WARNING: No LVM modification possible here. Edit /tmp/i-want-my-lvm instead");
    19471944    i = 4;
    19481945    bAdd = newtCompactButton(i, 17, " Add ");
     
    24232420    newtComponent b2;
    24242421    newtComponent b3;
    2425     newtComponent b_res;
    24262422
    24272423
     
    24342430    myForm = newtForm(NULL, NULL, 0);
    24352431    newtFormAddComponents(myForm, b1, b2, b3, NULL);
    2436     b_res = newtRunForm(myForm);
    24372432    newtFormDestroy(myForm);
    24382433    newtPopWindow();
     
    28862881            mr_getline(tmp, stdin);
    28872882            output = tmp[0];
    2888             free(tmp);
     2883            mr_free(tmp);
    28892884        }
    28902885        return (output);
Note: See TracChangeset for help on using the changeset viewer.