Changeset 102f641 in mainline for uspace/srv/sysman/main.c
- Timestamp:
- 2019-09-02T19:01:50Z (6 years ago)
- Children:
- 25697163
- Parents:
- 241f1985
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/main.c
r241f1985 r102f641 83 83 84 84 /** Build hard coded configuration */ 85 static errno_t create_entry_configuration(void) { 85 static errno_t create_entry_configuration(void) 86 { 86 87 errno_t rc; 87 88 unit_t *mnt_initrd = NULL; … … 108 109 cfg_init->name = str_dup(UNIT_CFG_INITRD); 109 110 CAST_CFG(cfg_init)->path = str_dup(INITRD_CFG_PATH); 110 111 111 112 tgt_init = unit_create(UNIT_TARGET); 112 113 if (tgt_init == NULL) { … … 115 116 } 116 117 tgt_init->name = str_dup(TARGET_INIT); 117 118 118 119 119 /* … … 160 160 } 161 161 job_del_ref(&job); 162 162 163 163 const char **target_name_ptr = arg; 164 164 prepare_and_run_job(target_name_ptr + 1);
Note:
See TracChangeset
for help on using the changeset viewer.