Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8efc4c1 in mainline


Ignore:
Timestamp:
2012-02-29T18:43:24Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
b4b3cb05
Parents:
ebea7acf
Message:

mkexfat: leave the NAME prefix only on error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkexfat/mkexfat.c

    rebea7acf r8efc4c1  
    222222cfg_print_info(exfat_cfg_t *cfg)
    223223{
    224         printf(NAME ": Sector size:           %lu\n",
     224        printf("Sector size:           %lu\n",
    225225            (unsigned long) cfg->sector_size);
    226         printf(NAME ": Cluster size:          %lu\n",
     226        printf("Cluster size:          %lu\n",
    227227            (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)
    233233            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)
    235235            div_round_up(sizeof(upcase_table), cfg->cluster_size));
    236236}
     
    792792        dev_path = *argv;
    793793
    794         printf(NAME ": Device = %s\n", dev_path);
     794        printf("Device = %s\n", dev_path);
    795795
    796796        rc = loc_service_get_id(dev_path, &service_id, 0);
     
    824824                return 1;
    825825        } else {
    826                 printf(NAME ": Block device has %" PRIuOFF64 " blocks.\n",
     826                printf("Block device has %" PRIuOFF64 " blocks.\n",
    827827                    cfg.volume_count);
    828828        }
     
    847847        }
    848848
    849         printf(NAME ": Writing the allocation table.\n");
     849        printf("Writing the allocation table.\n");
    850850
    851851        /* Initialize the FAT table */
     
    889889        }
    890890
    891         printf(NAME ": Writing the allocation bitmap.\n");
     891        printf("Writing the allocation bitmap.\n");
    892892
    893893        /* Write the allocation bitmap to disk */
     
    899899        }
    900900
    901         printf(NAME ": Writing the upcase table.\n");
     901        printf("Writing the upcase table.\n");
    902902
    903903        /* Write the upcase table to disk */
     
    909909        }
    910910
    911         printf(NAME ": Writing the root directory.\n");
     911        printf("Writing the root directory.\n");
    912912
    913913        rc = root_dentries_write(service_id, &cfg);
     
    918918        }
    919919
    920         printf(NAME ": Writing the boot sectors.\n");
     920        printf("Writing the boot sectors.\n");
    921921
    922922        rc = bootsec_write(service_id, &cfg);
Note: See TracChangeset for help on using the changeset viewer.