Ignore:
File:
1 edited

Legend:

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

    r1d6dd2a r2456fd0  
    4848#include <inttypes.h>
    4949#include <errno.h>
    50 #include <str.h>
    5150#include "fat.h"
    5251#include "fat_dentry.h"
     
    8786static void syntax_print(void);
    8887
    89 static errno_t fat_params_compute(struct fat_cfg *cfg);
    90 static errno_t fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id);
     88static int fat_params_compute(struct fat_cfg *cfg);
     89static int fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id);
    9190static void fat_bootsec_create(struct fat_cfg const *cfg, struct fat_bs *bs);
    9291
     
    9594        struct fat_cfg cfg;
    9695
    97         errno_t rc;
     96        int rc;
    9897        char *dev_path;
    9998        service_id_t service_id;
     
    253252}
    254253
    255 static errno_t fat_label_encode(void *dest, const char *src)
     254static int fat_label_encode(void *dest, const char *src)
    256255{
    257256        int i;
     
    285284 * file system params.
    286285 */
    287 static errno_t fat_params_compute(struct fat_cfg *cfg)
     286static int fat_params_compute(struct fat_cfg *cfg)
    288287{
    289288        uint32_t fat_bytes;
     
    357356
    358357/** Create file system with the given parameters. */
    359 static errno_t fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id)
     358static int fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id)
    360359{
    361360        aoff64_t addr;
     
    363362        int i;
    364363        uint32_t j;
    365         errno_t rc;
     364        int rc;
    366365        struct fat_bs bs;
    367366        fat_dentry_t *de;
Note: See TracChangeset for help on using the changeset viewer.