Changeset 3147 in MondoRescue for branches/3.1/mondo/src/mondorestore/mondo-rstr-newt.c
- Timestamp:
- Jun 19, 2013, 8:34:46 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mondo/src/mondorestore/mondo-rstr-newt.c
r2937 r3147 137 137 /** int **************************************************************/ 138 138 int i = 0; 139 int num_to_add = 0;140 139 141 140 /** newt *************************************************************/ … … 233 232 mr_asprintf(drive_to_add, "%s", device_str); 234 233 for (i = strlen(drive_to_add); isdigit(drive_to_add[i - 1]); i--); 235 num_to_add = atoi(drive_to_add + i);236 234 mr_free(drive_to_add); 237 235 … … 1943 1941 finish(1); 1944 1942 } 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"); 1947 1944 i = 4; 1948 1945 bAdd = newtCompactButton(i, 17, " Add "); … … 2423 2420 newtComponent b2; 2424 2421 newtComponent b3; 2425 newtComponent b_res;2426 2422 2427 2423 … … 2434 2430 myForm = newtForm(NULL, NULL, 0); 2435 2431 newtFormAddComponents(myForm, b1, b2, b3, NULL); 2436 b_res = newtRunForm(myForm);2437 2432 newtFormDestroy(myForm); 2438 2433 newtPopWindow(); … … 2886 2881 mr_getline(tmp, stdin); 2887 2882 output = tmp[0]; 2888 free(tmp);2883 mr_free(tmp); 2889 2884 } 2890 2885 return (output);
Note:
See TracChangeset
for help on using the changeset viewer.