Changes in uspace/app/mkfat/mkfat.c [b7fd2a0:2456fd0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkfat/mkfat.c
rb7fd2a0 r2456fd0 86 86 static void syntax_print(void); 87 87 88 static errno_t fat_params_compute(struct fat_cfg *cfg);89 static errno_t fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id);88 static int fat_params_compute(struct fat_cfg *cfg); 89 static int fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id); 90 90 static void fat_bootsec_create(struct fat_cfg const *cfg, struct fat_bs *bs); 91 91 … … 94 94 struct fat_cfg cfg; 95 95 96 errno_t rc;96 int rc; 97 97 char *dev_path; 98 98 service_id_t service_id; … … 252 252 } 253 253 254 static errno_t fat_label_encode(void *dest, const char *src)254 static int fat_label_encode(void *dest, const char *src) 255 255 { 256 256 int i; … … 284 284 * file system params. 285 285 */ 286 static errno_t fat_params_compute(struct fat_cfg *cfg)286 static int fat_params_compute(struct fat_cfg *cfg) 287 287 { 288 288 uint32_t fat_bytes; … … 356 356 357 357 /** Create file system with the given parameters. */ 358 static errno_t fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id)358 static int fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id) 359 359 { 360 360 aoff64_t addr; … … 362 362 int i; 363 363 uint32_t j; 364 errno_t rc;364 int rc; 365 365 struct fat_bs bs; 366 366 fat_dentry_t *de;
Note:
See TracChangeset
for help on using the changeset viewer.