Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkexfat/mkexfat.c

    rcde999a rf3504c1  
    4343#include <assert.h>
    4444#include <errno.h>
    45 #include <stdlib.h>
     45#include <malloc.h>
    4646#include <byteorder.h>
    4747#include <align.h>
     
    344344 * @param cfg  Pointer to the exFAT configuration structure.
    345345 * @param base Base sector of the EBS.
    346  * @return  EOK on success or an error code.
     346 * @return  EOK on success or a negative error code.
    347347 */
    348348static int
     
    351351{
    352352        uint32_t *ebs = calloc(cfg->sector_size, sizeof(uint8_t));
    353         int i;
    354         int rc;
     353        int i, rc;
    355354
    356355        if (!ebs)
     
    397396 * @param service_id  The service id.
    398397 * @param cfg Pointer to the exfat_cfg structure.
    399  * @return EOK on success or an error code.
     398 * @return EOK on success or a negative error code.
    400399 */
    401400static int
     
    437436 * @param cur_cls  Cluster index from where to start the allocation.
    438437 * @param ncls  Number of clusters to allocate.
    439  * @return EOK on success or an error code.
     438 * @return EOK on success or a negative error code.
    440439 */
    441440static int
     
    494493 * @param service_id   The service id.
    495494 * @param cfg  Pointer to the exfat configuration structure.
    496  * @return  EOK on success or an error code.
     495 * @return  EOK on success or a negative error code.
    497496 */
    498497static int
     
    593592 * @param service_id   The service id.
    594593 * @param cfg   Pointer to the exFAT configuration structure.
    595  * @return   EOK on success or an error code.
     594 * @return   EOK on success or a negative error code.
    596595 */
    597596static int
     
    758757        char *dev_path;
    759758        service_id_t service_id;
    760         int rc;
    761         int c, opt_ind;
     759        int rc, c, opt_ind;
    762760        aoff64_t user_fs_size = 0;
    763761
Note: See TracChangeset for help on using the changeset viewer.