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