Ignore:
Timestamp:
Feb 12, 2007, 11:13:09 AM (17 years ago)
Author:
Bruno Cornec
Message:

Fix a flaw in libmondo-mountlist.c (there since rev [1] !!) dur to the change of log_it macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-mountlist.c

    r1123 r1147  
    1616#include "libmondo-tools-EXT.h"
    1717#include "libmondo-string-EXT.h"
    18 #include "libmondo-gui-EXT.h"
     18#include "newt-specific-EXT.h"
    1919#include "mr_mem.h"
    2020#include "mr_msg.h"
     
    329329        sprintf(tmp, " %ld MB unallocated on %s.",
    330330                physical_drive_size - amount_allocated, drive);
    331         log_it(tmp), strcat(flaws_str, tmp);
     331        log_it(tmp);
     332        strcat(flaws_str, tmp);
     333        /* BERLIOS: Flawed since rev 1 !! */
     334        res++;
    332335    }
    333336    if (res) {
     
    485488        sprintf(tmp, " %ld MB unallocated on %s.",
    486489                physical_drive_size - amount_allocated, drive);
    487         log_it(tmp), strcat(flaws_str, tmp);
     490        log_it(tmp);
     491        strcat(flaws_str, tmp);
     492        /* BERLIOS: Flawed since rev 1 !! */
     493        res++;
    488494    }
    489495
Note: See TracChangeset for help on using the changeset viewer.