Ignore:
Timestamp:
Feb 2, 2007, 11:21:27 PM (13 years ago)
Author:
Bruno Cornec
Message:

log_msg => mr_msg in trunk

File:
1 edited

Legend:

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

    r1079 r1086  
    120120                 internal_tape_block_size, keych, device);
    121121    }
    122     log_msg(2, "Calling buffer --- command = '%s'", g_sz_call_to_buffer);
     122    mr_msg(2, "Calling buffer --- command = '%s'", g_sz_call_to_buffer);
    123123    fres = popen(g_sz_call_to_buffer, sz_dir);
    124124    mr_free(sz_dir);
    125125    if (fres) {
    126         log_msg(2, "Successfully opened ('%c') tape device %s", direction,
     126        mr_msg(2, "Successfully opened ('%c') tape device %s", direction,
    127127                device);
    128128    } else {
    129         log_msg(2, "Failed to open ('%c') tape device %s", direction,
     129        mr_msg(2, "Failed to open ('%c') tape device %s", direction,
    130130                device);
    131131    }
     
    133133    mr_asprintf(&tmp, "ps %s | grep \"%s\"", ps_options, g_sz_call_to_buffer);
    134134    if (run_program_and_log_output(tmp, 2)) {
    135         log_msg(2, "Warning - I think I failed to open tape, actually.");
     135        mr_msg(2, "Warning - I think I failed to open tape, actually.");
    136136    }
    137137    mr_free(tmp);
     
    168168            "ps %s | grep -F \"%s\" | grep -Fv grep | awk '{print $2;}' | grep -v PID | head -1", ps_options, g_sz_call_to_buffer);
    169169    mr_free(g_sz_call_to_buffer);
    170     log_msg(2, "kill_buffer() --- command = %s", command);
     170    mr_msg(2, "kill_buffer() --- command = %s", command);
    171171
    172172    tmp = call_program_and_get_last_line_of_output(command);
     
    174174
    175175    mr_asprintf(&command, "kill %s", tmp);
    176     log_msg(2, "kill_buffer() --- command = %s", command);
     176    mr_msg(2, "kill_buffer() --- command = %s", command);
    177177
    178178    if (strlen(tmp) > 0) {
Note: See TracChangeset for help on using the changeset viewer.