Changeset ae2c925 in mainline for uspace/srv/logger/initlvl.c


Ignore:
Timestamp:
2012-08-17T11:47:03Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
52c4264
Parents:
90dc458
Message:

Refactoring

File:
1 edited

Legend:

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

    r90dc458 rae2c925  
    6262                return;
    6363
    64         logger_log_t *log;
    65         rc = find_or_create_log_and_acquire(key, 0, &log);
    66         if (rc != EOK)
     64        logger_log_t *log = find_or_create_log_and_acquire(key, 0);
     65        if (log == NULL)
    6766                return;
    6867
Note: See TracChangeset for help on using the changeset viewer.