Ignore:
Timestamp:
Feb 8, 2007, 12:09:34 AM (14 years ago)
Author:
Bruno Cornec
Message:

log_msg => mr_msg for common files

File:
1 edited

Legend:

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

    r1080 r1107  
    122122                internal_tape_block_size, keych, device);
    123123    }
    124     log_msg(2, "Calling buffer --- command = '%s'", g_sz_call_to_buffer);
     124    mr_msg(2, "Calling buffer --- command = '%s'", g_sz_call_to_buffer);
    125125    fres = popen(g_sz_call_to_buffer, sz_dir);
    126126    if (fres) {
    127         log_msg(2, "Successfully opened ('%c') tape device %s", direction,
     127        mr_msg(2, "Successfully opened ('%c') tape device %s", direction,
    128128                device);
    129129    } else {
    130         log_msg(2, "Failed to open ('%c') tape device %s", direction,
     130        mr_msg(2, "Failed to open ('%c') tape device %s", direction,
    131131                device);
    132132    }
     
    134134    sprintf(tmp, "ps %s | grep \"%s\"", ps_options, g_sz_call_to_buffer);
    135135    if (run_program_and_log_output(tmp, 2)) {
    136         log_msg(2, "Warning - I think I failed to open tape, actually.");
     136        mr_msg(2, "Warning - I think I failed to open tape, actually.");
    137137    }
    138138    g_tape_buffer_size_MB = bufsize;
     
    172172    sprintf(command,
    173173            "ps %s | grep -F \"%s\" | grep -Fv grep | awk '{print $2;}' | grep -v PID | head -1", ps_options, g_sz_call_to_buffer);
    174     log_msg(2, "kill_buffer() --- command = %s", command);
     174    mr_msg(2, "kill_buffer() --- command = %s", command);
    175175    strcpy(tmp, call_program_and_get_last_line_of_output(command));
    176176    sprintf(command, "kill %s", tmp);
    177     log_msg(2, "kill_buffer() --- command = %s", command);
     177    mr_msg(2, "kill_buffer() --- command = %s", command);
    178178    if (strlen(tmp) > 0) {
    179179        run_program_and_log_output(command, TRUE);
Note: See TracChangeset for help on using the changeset viewer.