Changeset a188131 in mainline for uspace/srv/system/system.c
- Timestamp:
- 2025-04-09T19:05:44Z (6 days ago)
- Branches:
- master
- Children:
- 3acb63b5, a78b0a0
- Parents:
- 597fa24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/system/system.c
r597fa24 ra188131 328 328 size_t nparts; 329 329 bool sv_mounted; 330 futil_t *futil = NULL; 330 331 size_t i; 331 332 errno_t rc; … … 380 381 381 382 /* Copy initial configuration files */ 382 rc = futil_ rcopy_contents("/cfg", "/w/cfg");383 rc = futil_create(NULL, NULL, &futil); 383 384 if (rc != EOK) 384 385 goto error; 386 387 rc = futil_rcopy_contents(futil, "/cfg", "/w/cfg"); 388 if (rc != EOK) 389 goto error; 390 391 futil_destroy(futil); 392 futil = NULL; 385 393 } else { 386 394 printf("%s: System volume is configured.\n", NAME); … … 429 437 if (part_ids != NULL) 430 438 free(part_ids); 439 if (futil != NULL) 440 futil_destroy(futil); 431 441 432 442 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.