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/test/job_closure.c

    r102f641 r25697163  
    114114
    115115        dyn_array_initialize(&exp_closure, job_t *);
    116         int rc = dyn_array_reserve(&exp_closure, MAX_TYPES * MAX_UNITS);
     116        errno_t rc = dyn_array_reserve(&exp_closure, MAX_TYPES * MAX_UNITS);
    117117        assert(rc == EOK);
    118118
     
    153153        assert(main_job);
    154154
    155         int rc = job_create_closure(main_job, &act_closure, 0);
     155        errno_t rc = job_create_closure(main_job, &act_closure, 0);
    156156        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    157157
     
    185185        assert(main_job);
    186186
    187         int rc = job_create_closure(main_job, &act_closure, 0);
     187        errno_t rc = job_create_closure(main_job, &act_closure, 0);
    188188        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    189189
     
    219219        assert(main_job);
    220220
    221         int rc = job_create_closure(main_job, &act_closure, 0);
     221        errno_t rc = job_create_closure(main_job, &act_closure, 0);
    222222        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    223223
     
    266266        assert(main_job);
    267267
    268         int rc = job_create_closure(main_job, &act_closure, CLOSURE_ISOLATE);
     268        errno_t rc = job_create_closure(main_job, &act_closure, CLOSURE_ISOLATE);
    269269        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    270270
Note: See TracChangeset for help on using the changeset viewer.