Changeset 102f641 in mainline for uspace/srv/sysman/units/unit_cfg.c
- Timestamp:
- 2019-09-02T19:01:50Z (5 years ago)
- Children:
- 25697163
- Parents:
- 241f1985
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/units/unit_cfg.c
r241f1985 r102f641 46 46 47 47 static config_item_t unit_configuration[] = { 48 { "Path", &config_parse_string, offsetof(unit_cfg_t, path), NULL},48 { "Path", &config_parse_string, offsetof(unit_cfg_t, path), NULL }, 49 49 CONFIGURATION_ITEM_SENTINEL 50 50 }; … … 81 81 goto finish; 82 82 } 83 83 84 84 /* We parse files as part of ongoing repo transaction (locked). */ 85 85 unit_t *u = repo_find_unit_by_name_unsafe(unit_name); … … 231 231 232 232 errno_t rc = cfg_load_configuration(u_cfg->path); 233 233 234 234 if (rc == EOK) { 235 235 unit->state = STATE_STARTED; … … 267 267 } 268 268 269 DEFINE_UNIT_VMT(unit_cfg) 270 269 DEFINE_UNIT_VMT(unit_cfg);
Note:
See TracChangeset
for help on using the changeset viewer.