Changeset 462b418 in mainline for uspace/app/mkfat/mkfat.c


Ignore:
Timestamp:
2011-08-25T21:07:05Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81e20c7
Parents:
ede7ae1
Message:

Recognize only —type 12, 16 and 32.

File:
1 edited

Legend:

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

    rede7ae1 r462b418  
    189189        }
    190190
     191        if (cfg.fat_type != FAT12 && cfg.fat_type != FAT16 && cfg.fat_type != FAT32) {
     192                printf(NAME ": Error. Unknown FAT type.\n");
     193                return 2;
     194        }
     195
    191196        printf(NAME ": Creating FAT%d filesystem on device %s.\n", cfg.fat_type, dev_path);
    192197
Note: See TracChangeset for help on using the changeset viewer.