Changeset b7fd2a0 in mainline for uspace/app/mkfat/mkfat.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkfat/mkfat.c
r36f0738 rb7fd2a0 86 86 static void syntax_print(void); 87 87 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);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); 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 int rc;96 errno_t rc; 97 97 char *dev_path; 98 98 service_id_t service_id; … … 252 252 } 253 253 254 static int fat_label_encode(void *dest, const char *src)254 static errno_t fat_label_encode(void *dest, const char *src) 255 255 { 256 256 int i; … … 284 284 * file system params. 285 285 */ 286 static int fat_params_compute(struct fat_cfg *cfg)286 static errno_t 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 int fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id)358 static errno_t 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 int rc;364 errno_t rc; 365 365 struct fat_bs bs; 366 366 fat_dentry_t *de;
Note:
See TracChangeset
for help on using the changeset viewer.