Changeset 25697163 in mainline for uspace/srv/sysman/sm_task.c


Ignore:
Timestamp:
2019-10-06T19:47:15Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
9559cf8
Parents:
102f641
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-09-06 17:58:36)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:47:15)
Message:

Replacing int with errno_t

The merged code from system-daemon still used the type int
for indicating an error instead of using errno_t. This
commit corrects this mistake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/sm_task.c

    r102f641 r25697163  
    8888        unit_t *u_svc = unit_create(UNIT_SERVICE);
    8989        bool in_repo_update = false;
    90         int rc = EOK;
     90        errno_t rc = EOK;
    9191
    9292        if (u_svc == NULL) {
     
    139139{
    140140        repo_begin_update();
    141         int rc = repo_remove_unit(&u_svc->unit);
     141        errno_t rc = repo_remove_unit(&u_svc->unit);
    142142        if (rc != EOK) {
    143143                sysman_log(LVL_WARN, "Can't remove unit %s (%i).",
Note: See TracChangeset for help on using the changeset viewer.