Changeset 8efc4c1 in mainline
- Timestamp:
- 2012-02-29T18:43:24Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4b3cb05
- Parents:
- ebea7acf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkexfat/mkexfat.c
rebea7acf r8efc4c1 222 222 cfg_print_info(exfat_cfg_t *cfg) 223 223 { 224 printf( NAME ":Sector size: %lu\n",224 printf("Sector size: %lu\n", 225 225 (unsigned long) cfg->sector_size); 226 printf( NAME ":Cluster size: %lu\n",226 printf("Cluster size: %lu\n", 227 227 (unsigned long) cfg->cluster_size); 228 printf( NAME ":FAT size in sectors: %lu\n", cfg->fat_sector_count);229 printf( NAME ":Data start sector: %lu\n", cfg->data_start_sector);230 printf( NAME ":Total num of clusters: %lu\n", cfg->total_clusters);231 printf( NAME ":Total used clusters: %lu\n", cfg->allocated_clusters);232 printf( NAME ":Bitmap size: %lu\n", (unsigned long)228 printf("FAT size in sectors: %lu\n", cfg->fat_sector_count); 229 printf("Data start sector: %lu\n", cfg->data_start_sector); 230 printf("Total num of clusters: %lu\n", cfg->total_clusters); 231 printf("Total used clusters: %lu\n", cfg->allocated_clusters); 232 printf("Bitmap size: %lu\n", (unsigned long) 233 233 div_round_up(cfg->bitmap_size, cfg->cluster_size)); 234 printf( NAME ":Upcase table size: %lu\n", (unsigned long)234 printf("Upcase table size: %lu\n", (unsigned long) 235 235 div_round_up(sizeof(upcase_table), cfg->cluster_size)); 236 236 } … … 792 792 dev_path = *argv; 793 793 794 printf( NAME ":Device = %s\n", dev_path);794 printf("Device = %s\n", dev_path); 795 795 796 796 rc = loc_service_get_id(dev_path, &service_id, 0); … … 824 824 return 1; 825 825 } else { 826 printf( NAME ":Block device has %" PRIuOFF64 " blocks.\n",826 printf("Block device has %" PRIuOFF64 " blocks.\n", 827 827 cfg.volume_count); 828 828 } … … 847 847 } 848 848 849 printf( NAME ":Writing the allocation table.\n");849 printf("Writing the allocation table.\n"); 850 850 851 851 /* Initialize the FAT table */ … … 889 889 } 890 890 891 printf( NAME ":Writing the allocation bitmap.\n");891 printf("Writing the allocation bitmap.\n"); 892 892 893 893 /* Write the allocation bitmap to disk */ … … 899 899 } 900 900 901 printf( NAME ":Writing the upcase table.\n");901 printf("Writing the upcase table.\n"); 902 902 903 903 /* Write the upcase table to disk */ … … 909 909 } 910 910 911 printf( NAME ":Writing the root directory.\n");911 printf("Writing the root directory.\n"); 912 912 913 913 rc = root_dentries_write(service_id, &cfg); … … 918 918 } 919 919 920 printf( NAME ":Writing the boot sectors.\n");920 printf("Writing the boot sectors.\n"); 921 921 922 922 rc = bootsec_write(service_id, &cfg);
Note:
See TracChangeset
for help on using the changeset viewer.