Changeset c80100f in mainline for uspace/app/mkfat/mkfat.c


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

Do not forget the —size value.

File:
1 edited

Legend:

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

    r24738df rc80100f  
    180180                printf(NAME ": Block device has %" PRIuOFF64 " blocks.\n",
    181181                    dev_nblocks);
    182                 cfg.total_sectors = dev_nblocks;
     182                if (dev_nblocks < cfg.total_sectors)
     183                        cfg.total_sectors = dev_nblocks;
    183184        }
    184185
Note: See TracChangeset for help on using the changeset viewer.