Changeset 81e20c7 in mainline for uspace/app/mkfat/mkfat.c
- Timestamp:
- 2011-08-25T21:20:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- abb7491c
- Parents:
- 462b418
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkfat/mkfat.c
r462b418 r81e20c7 180 180 printf(NAME ": Block device has %" PRIuOFF64 " blocks.\n", 181 181 dev_nblocks); 182 if ( dev_nblocks < cfg.total_sectors)182 if (!cfg.total_sectors || dev_nblocks < cfg.total_sectors) 183 183 cfg.total_sectors = dev_nblocks; 184 184 }
Note:
See TracChangeset
for help on using the changeset viewer.