Changeset 127 in MondoRescue for trunk/mondo/mondo/common/libmondo-files.c


Ignore:
Timestamp:
Nov 19, 2005, 2:27:31 AM (18 years ago)
Author:
bcornec
Message:

merge -r 125:126 $SVN_M/branches/2.05

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-files.c

    r110 r127  
    569569        return (output);
    570570    }
    571     sprintf(command, "cat %s | tail -n1", filename);
     571    sprintf(command, "tail -n1 %s", filename);
    572572    fin = popen(command, "r");
    573573    (void) fgets(output, MAX_STR_LEN, fin);
     
    13131313    if (scratchLL <= 1) {
    13141314        sprintf(tmp,
    1315                 "Your backup will probably occupy a single CD/tape/ISO. Maybe two.");
     1315                "Your backup will probably occupy a single %s. Maybe two.",
     1316                media_descriptor_string(bkpinfo->backup_media_type));
    13161317    } else {
    13171318        sprintf(tmp, "Your backup will occupy approximately %s media.",
Note: See TracChangeset for help on using the changeset viewer.