Changes in uspace/app/mkexfat/mkexfat.c [cde999a:f3504c1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkexfat/mkexfat.c
rcde999a rf3504c1 43 43 #include <assert.h> 44 44 #include <errno.h> 45 #include < stdlib.h>45 #include <malloc.h> 46 46 #include <byteorder.h> 47 47 #include <align.h> … … 344 344 * @param cfg Pointer to the exFAT configuration structure. 345 345 * @param base Base sector of the EBS. 346 * @return EOK on success or a nerror code.346 * @return EOK on success or a negative error code. 347 347 */ 348 348 static int … … 351 351 { 352 352 uint32_t *ebs = calloc(cfg->sector_size, sizeof(uint8_t)); 353 int i; 354 int rc; 353 int i, rc; 355 354 356 355 if (!ebs) … … 397 396 * @param service_id The service id. 398 397 * @param cfg Pointer to the exfat_cfg structure. 399 * @return EOK on success or a nerror code.398 * @return EOK on success or a negative error code. 400 399 */ 401 400 static int … … 437 436 * @param cur_cls Cluster index from where to start the allocation. 438 437 * @param ncls Number of clusters to allocate. 439 * @return EOK on success or a nerror code.438 * @return EOK on success or a negative error code. 440 439 */ 441 440 static int … … 494 493 * @param service_id The service id. 495 494 * @param cfg Pointer to the exfat configuration structure. 496 * @return EOK on success or a nerror code.495 * @return EOK on success or a negative error code. 497 496 */ 498 497 static int … … 593 592 * @param service_id The service id. 594 593 * @param cfg Pointer to the exFAT configuration structure. 595 * @return EOK on success or a nerror code.594 * @return EOK on success or a negative error code. 596 595 */ 597 596 static int … … 758 757 char *dev_path; 759 758 service_id_t service_id; 760 int rc; 761 int c, opt_ind; 759 int rc, c, opt_ind; 762 760 aoff64_t user_fs_size = 0; 763 761
Note:
See TracChangeset
for help on using the changeset viewer.