Changes in uspace/app/mkfat/mkfat.c [2456fd0:1d6dd2a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkfat/mkfat.c
r2456fd0 r1d6dd2a 48 48 #include <inttypes.h> 49 49 #include <errno.h> 50 #include <str.h> 50 51 #include "fat.h" 51 52 #include "fat_dentry.h" … … 86 87 static void syntax_print(void); 87 88 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);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); 90 91 static void fat_bootsec_create(struct fat_cfg const *cfg, struct fat_bs *bs); 91 92 … … 94 95 struct fat_cfg cfg; 95 96 96 int rc;97 errno_t rc; 97 98 char *dev_path; 98 99 service_id_t service_id; … … 252 253 } 253 254 254 static int fat_label_encode(void *dest, const char *src)255 static errno_t fat_label_encode(void *dest, const char *src) 255 256 { 256 257 int i; … … 284 285 * file system params. 285 286 */ 286 static int fat_params_compute(struct fat_cfg *cfg)287 static errno_t fat_params_compute(struct fat_cfg *cfg) 287 288 { 288 289 uint32_t fat_bytes; … … 356 357 357 358 /** Create file system with the given parameters. */ 358 static int fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id)359 static errno_t fat_blocks_write(struct fat_cfg const *cfg, service_id_t service_id) 359 360 { 360 361 aoff64_t addr; … … 362 363 int i; 363 364 uint32_t j; 364 int rc;365 errno_t rc; 365 366 struct fat_bs bs; 366 367 fat_dentry_t *de;
Note:
See TracChangeset
for help on using the changeset viewer.