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


Ignore:
Timestamp:
2019-10-06T19:47:15Z (6 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/repo.c

    r102f641 r25697163  
    151151}
    152152
    153 int repo_add_unit(unit_t *unit)
     153errno_t repo_add_unit(unit_t *unit)
    154154{
    155155        assert(unit);
     
    172172}
    173173
    174 int repo_remove_unit(unit_t *unit)
     174errno_t repo_remove_unit(unit_t *unit)
    175175{
    176176        unit->repo_state = REPO_ZOMBIE;
     
    283283 * @return ENOENT  when one or more resolution fails, information is logged
    284284 */
    285 int repo_resolve_references(void)
     285errno_t repo_resolve_references(void)
    286286{
    287287        sysman_log(LVL_DEBUG2, "%s", __func__);
Note: See TracChangeset for help on using the changeset viewer.