Ignore:
Timestamp:
Feb 11, 2007, 2:33:58 AM (14 years ago)
Author:
Bruno Cornec
Message:

mondoarchive now uses mr_msg_init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/main.c

    r1112 r1132  
    186186    say_at_end[0] = '\0';
    187187    printf("Initializing...\n");
    188     bkpinfo = mr_malloc(sizeof(struct s_bkpinfo));
    189188
    190189    /* initialize log file with time stamp */
    191190    unlink(MONDO_LOGFILE);
     191    mr_msg_init(MONDO_LOGFILE,4);
    192192    mr_msg(0, "Time started: %s", mr_date());
     193
     194    bkpinfo = mr_malloc(sizeof(struct s_bkpinfo));
    193195
    194196    /* make sure PATH environmental variable allows access to mkfs, fdisk, etc. */
     
    456458    /* finalize log file with time stamp */
    457459    mr_msg(0, "Time finished: %s", mr_date());
     460    mr_msg_close();
    458461
    459462    if (!g_text_mode) {
Note: See TracChangeset for help on using the changeset viewer.