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