Changeset 102f641 in mainline for uspace/srv/sysman/units/unit_cfg.c


Ignore:
Timestamp:
2019-09-02T19:01:50Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
25697163
Parents:
241f1985
Message:

Correcting syntax according to ccheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/units/unit_cfg.c

    r241f1985 r102f641  
    4646
    4747static 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 },
    4949        CONFIGURATION_ITEM_SENTINEL
    5050};
     
    8181                goto finish;
    8282        }
    83        
     83
    8484        /* We parse files as part of ongoing repo transaction (locked). */
    8585        unit_t *u = repo_find_unit_by_name_unsafe(unit_name);
     
    231231
    232232        errno_t rc = cfg_load_configuration(u_cfg->path);
    233        
     233
    234234        if (rc == EOK) {
    235235                unit->state = STATE_STARTED;
     
    267267}
    268268
    269 DEFINE_UNIT_VMT(unit_cfg)
    270 
     269DEFINE_UNIT_VMT(unit_cfg);
Note: See TracChangeset for help on using the changeset viewer.