Changeset 3236 in MondoRescue
- Timestamp:
- Jan 3, 2014, 5:44:07 PM (11 years ago)
- Location:
- branches/3.2/mondo/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-mountlist.c
r3191 r3236 555 555 drivelist = malloc(sizeof(struct list_of_disks)); 556 556 assert(mountlist != NULL); 557 mr_asprintf(flaws_str, "%s", ""); 557 558 558 559 make_list_of_drives_in_mountlist(mountlist, drivelist); … … 561 562 562 563 for (i = 0; i < drivelist->entries; i++) { 563 if (strstr 564 (drivelist->el[i].device, 565 DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE)) { 564 if (strstr(drivelist->el[i].device, DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE)) { 566 565 log_it(" Not evaluating %s (I don't know how yet)", drivelist->el[i].device); 567 566 } else { -
branches/3.2/mondo/src/mondorestore/mondo-rstr-newt.c
r3194 r3236 1933 1933 flawsLabelB = newtLabel(2, 14, " "); 1934 1934 flawsLabelC = newtLabel(2, 15, " "); 1935 partitionsListbox = 1936 newtListbox(2, 2, 10, NEWT_FLAG_SCROLL | NEWT_FLAG_RETURNEXIT); 1935 partitionsListbox = newtListbox(2, 2, 10, NEWT_FLAG_SCROLL | NEWT_FLAG_RETURNEXIT); 1937 1936 redraw_mountlist(mountlist, keylist, partitionsListbox); 1938 1937 newtOpenWindow(1, 3, 77, 18, "Editing mountlist"); … … 1974 1973 if (b_res == bOK) { 1975 1974 if (flaws_str != NULL) { 1976 finished = 1977 ask_me_yes_or_no 1978 ("Your mountlist might not work. Continue anyway?"); 1975 finished = ask_me_yes_or_no("Your mountlist might not work. Continue anyway?"); 1979 1976 } else { 1980 finished = 1981 ask_me_yes_or_no 1982 ("Are you sure you want to save your mountlist and continue? (No changes will be made to your partition table at this time.)"); 1977 finished = ask_me_yes_or_no("Are you sure you want to save your mountlist and continue? (No changes will be made to your partition table at this time.)"); 1983 1978 } 1984 1979 } else if (b_res == bCancel) { … … 1992 1987 } else { 1993 1988 curr_choice = newtListboxGetCurrent(partitionsListbox); 1994 for (i = 0; 1995 i < mountlist->entries && keylist[i] != curr_choice; i++); 1989 for (i = 0; i < mountlist->entries && keylist[i] != curr_choice; i++); 1996 1990 if (i == mountlist->entries && mountlist->entries > 0) { 1997 1991 log_to_screen("I don't know what that button does!"); … … 2051 2045 fatal_error("Don't call edit_mountlist() in text mode"); 2052 2046 } else { 2053 log_it 2054 ("I'm in GUI mode, so I shall edit mountlist using edit_mountlist()"); 2047 log_it("I'm in GUI mode, so I shall edit mountlist using edit_mountlist()"); 2055 2048 res = edit_mountlist_in_newt(mountlist_fname, mountlist, raidlist); 2056 2049 }
Note:
See TracChangeset
for help on using the changeset viewer.