Ignore:
Timestamp:
Jun 17, 2009, 10:53:23 PM (11 years ago)
Author:
Bruno Cornec
Message:
  • Simplify log_it calls when possible (with just a fixed string)
  • issue with truncate_to_drive_name reported by valgrind at restore time. Needs rewrite IMO
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondo-prep.c

    r2227 r2230  
    240240
    241241//  do_this_last[0] = '\0';
    242     log_it("%s","STARTING");
     242    log_it("STARTING");
    243243    log_msg(1, "OK, opened i-want-my-lvm. Shutting down LVM volumes...");
    244244    if (find_home_of_exe("lvm"))    // found it :) cool
     
    417417    system("sync");
    418418    sleep(1);
    419     log_it("%s","ENDING");
     419    log_it("ENDING");
    420420    if (retval > 2) {
    421421        log_msg(1, "%d errors. I'm reporting this.", retval);
     
    16131613            system("sync");
    16141614#else
    1615             log_it("%s","New, kernel-friendly partition remover");
     1615            log_it("New, kernel-friendly partition remover");
    16161616            for (i = 20; i > 0; i--) {
    16171617                fprintf(pout_to_fdisk, "d\n%d\n", i);
     
    25912591        log_it("--- Hugo, 2002/11/20");
    25922592    }
    2593     log_it("%s","Resizing mountlist");
     2593    log_it("Resizing mountlist");
    25942594    make_list_of_drives_in_mountlist(mountlist, drivelist);
    2595     log_it("%s","Back from MLoDiM");
     2595    log_it("Back from MLoDiM");
    25962596    for (driveno = 0; driveno < drivelist->entries; driveno++) {
    25972597        resize_drive_proportionately_to_suit_new_drives(mountlist,
Note: See TracChangeset for help on using the changeset viewer.