Changeset b4b3cb05 in mainline
- Timestamp:
- 2012-02-29T21:31:04Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 875bc8b
- Parents:
- 8efc4c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkexfat/mkexfat.c
r8efc4c1 rb4b3cb05 133 133 printf("Usage: mkexfat [options] <device>\n" 134 134 "-c, --cluster-size ## Specify the cluster size (Kb)\n" 135 "-s, --fs-size ## Specify the filesystem size ( byte)\n");135 "-s, --fs-size ## Specify the filesystem size (sectors)\n"); 136 136 } 137 137 … … 761 761 case 's': 762 762 user_fs_size = (aoff64_t) strtol(optarg, NULL, 10); 763 if (user_fs_size < 1024 * 1024) {764 printf(NAME ": Error, fs size can't be less"765 " than 1 Mb.\n");766 return 1;767 }768 763 break; 769 764 … … 812 807 } 813 808 809 user_fs_size *= cfg.sector_size; 810 if (user_fs_size < 1024 * 1024) { 811 printf(NAME ": Error, fs size can't be less" 812 " than 1 Mb.\n"); 813 return 1; 814 } 815 816 814 817 if (cfg.sector_size > 4096) { 815 818 printf(NAME ": Error, sector size can't be greater" \
Note:
See TracChangeset
for help on using the changeset viewer.