Changeset 2cada66 in mainline


Ignore:
Timestamp:
2011-04-02T08:07:34Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9cd199c
Parents:
bd64680
Message:

Drop redundant option "-3" in mkminix

File:
1 edited

Legend:

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

    rbd64680 r2cada66  
    137137
    138138        for (c = 0, optind = 0, opt_ind = 0; c != -1;) {
    139                 c = getopt_long(argc, argv, "lh123b:i:", long_options, &opt_ind);
     139                c = getopt_long(argc, argv, "lh12b:i:", long_options, &opt_ind);
    140140                switch (c) {
    141141                case 'h':
     
    156156                        sb.dirsize = MFS_DIRSIZE;
    157157                        break;
    158                 case '3':
    159                         sb.magic = MFS_MAGIC_V3;
    160                         sb.fs_version = 3;
    161                         sb.block_size = MFS_MAX_BLOCKSIZE;
    162                         sb.dirsize = MFS3_DIRSIZE;
    163                         sb.ino_per_block = V3_INODES_PER_BLOCK(sb.block_size);
    164                         break;
    165158                case 'b':
    166159                        sb.block_size = (uint32_t) strtol(optarg, NULL, 10);
Note: See TracChangeset for help on using the changeset viewer.