Changes in uspace/srv/system/system.c [a188131:77a0119] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/system/system.c
ra188131 r77a0119 328 328 size_t nparts; 329 329 bool sv_mounted; 330 futil_t *futil = NULL;331 330 size_t i; 332 331 errno_t rc; … … 381 380 382 381 /* Copy initial configuration files */ 383 rc = futil_ create(NULL, NULL, &futil);382 rc = futil_rcopy_contents("/cfg", "/w/cfg"); 384 383 if (rc != EOK) 385 384 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;393 385 } else { 394 386 printf("%s: System volume is configured.\n", NAME); … … 437 429 if (part_ids != NULL) 438 430 free(part_ids); 439 if (futil != NULL)440 futil_destroy(futil);441 431 442 432 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.