Changeset e28175d in mainline for uspace/lib/c/generic/io/log.c


Ignore:
Timestamp:
2020-03-15T10:44:02Z (6 years ago)
Author:
GitHub <noreply@…>
Parents:
b401b33 (diff), 44dde42 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
heiducteam <tristanided@…> (2020-03-15 10:44:02)
git-committer:
GitHub <noreply@…> (2020-03-15 10:44:02)
Message:

Merge pull request #1 from HelenOS/master

sync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/log.c

    rb401b33 re28175d  
    167167                return ENOMEM;
    168168
     169        errno_t rc;
    169170        logger_session = service_connect_blocking(SERVICE_LOGGER,
    170             INTERFACE_LOGGER_WRITER, 0);
    171         if (logger_session == NULL) {
    172                 return ENOMEM;
    173         }
     171            INTERFACE_LOGGER_WRITER, 0, &rc);
     172        if (logger_session == NULL)
     173                return rc;
    174174
    175175        default_log_id = log_create(prog_name, LOG_NO_PARENT);
Note: See TracChangeset for help on using the changeset viewer.