Changeset 25697163 in mainline for uspace/srv/sysman/units/unit_tgt.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/units/unit_tgt.c

    r102f641 r25697163  
    4545}
    4646
    47 static int unit_tgt_load(unit_t *unit, ini_configuration_t *ini_conf,
     47static errno_t unit_tgt_load(unit_t *unit, ini_configuration_t *ini_conf,
    4848    text_parse_t *text_parse)
    4949{
     
    5454}
    5555
    56 static int unit_tgt_start(unit_t *unit)
     56static errno_t unit_tgt_start(unit_t *unit)
    5757{
    5858        unit_tgt_t *u_tgt = CAST_TGT(unit);
     
    6363}
    6464
    65 static int unit_tgt_stop(unit_t *unit)
     65static errno_t unit_tgt_stop(unit_t *unit)
    6666{
    6767        unit_tgt_t *u_tgt = CAST_TGT(unit);
Note: See TracChangeset for help on using the changeset viewer.