Ignore:
Timestamp:
Sep 12, 2009, 2:57:02 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Fix interface of evaluate_mountlist (remove 2nd param useless) and fix nuke mode which wasn't working.
  • Tries to add support for bzip2 and lzma initramfs (preliminary, not tested) for 2.6.30

(Backport from 2.2.9)

File:
1 edited

Legend:

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

    r2382 r2395  
    19241924    /** int **************************************************************/
    19251925    int i = 0;
    1926     int res = 0;
    19271926    int currline = 0;
    19281927    int finished = FALSE;
     
    19651964                          bEdit, bDelete, bReload, bCancel, bOK, NULL);
    19661965    while (!finished) {
    1967         flaws_str = evaluate_mountlist(mountlist, &res);
     1966        flaws_str = evaluate_mountlist(mountlist);
    19681967        if (strlen(flaws_str) > 0) {
    19691968            mr_asprintf(flaws_str_A, "%s", flaws_str + 1);
     
    19961995
    19971996        if (b_res == bOK) {
    1998             flaws_str = evaluate_mountlist(mountlist, &res);
    1999             mr_free(flaws_str);
    2000             if (!res) {
     1997            flaws_str = evaluate_mountlist(mountlist);
     1998            if (flaws_str != NULL) {
     1999                mr_free(flaws_str);
    20012000                finished =
    20022001                    ask_me_yes_or_no
Note: See TracChangeset for help on using the changeset viewer.