Changeset 25697163 in mainline for uspace/srv/sysman/unit.c
- Timestamp:
- 2019-10-06T19:47:15Z (4 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/unit.c
r102f641 r25697163 105 105 } 106 106 107 int unit_load(unit_t *unit, ini_configuration_t *ini_conf,107 errno_t unit_load(unit_t *unit, ini_configuration_t *ini_conf, 108 108 text_parse_t *text_parse) 109 109 { 110 110 sysman_log(LVL_DEBUG, "%s('%s')", __func__, unit_name(unit)); 111 111 112 int rc = EOK;112 errno_t rc = EOK; 113 113 ini_section_t *unit_section = ini_get_section(ini_conf, section_name); 114 114 if (unit_section) { … … 135 135 * - STATE_FAILED. (unit state changed and error occured) 136 136 */ 137 int unit_start(unit_t *unit)137 errno_t unit_start(unit_t *unit) 138 138 { 139 139 sysman_log(LVL_NOTE, "%s('%s')", __func__, unit_name(unit)); … … 145 145 * Same semantics like for unit_start applies. 146 146 */ 147 int unit_stop(unit_t *unit)147 errno_t unit_stop(unit_t *unit) 148 148 { 149 149 sysman_log(LVL_NOTE, "%s('%s')", __func__, unit_name(unit));
Note:
See TracChangeset
for help on using the changeset viewer.