Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 90dc458 in mainline for uspace/srv/logger/initlvl.c


Ignore:
Timestamp:
2012-08-17T11:38:08Z (9 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
ae2c925
Parents:
5239e17
Message:

Create log files lazily

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/logger/initlvl.c

    r5239e17 r90dc458  
    3535 */
    3636#include <errno.h>
     37#include <str_error.h>
    3738#include <sysinfo.h>
    3839#include <str.h>
     
    6162                return;
    6263
    63         logger_log_t *log = find_or_create_log_and_acquire(key, 0);
    64         if (log == NULL)
     64        logger_log_t *log;
     65        rc = find_or_create_log_and_acquire(key, 0, &log);
     66        if (rc != EOK)
    6567                return;
    6668
Note: See TracChangeset for help on using the changeset viewer.