Changeset c64506b in mainline


Ignore:
Timestamp:
2011-03-08T19:15:45Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
58319fd
Parents:
fd282ad
Message:

Fix a bug when initializing inodes

File:
1 edited

Legend:

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

    rfd282ad rc64506b  
    160160                        break;
    161161                case 'i':
    162                         sb.n_inodes = (unsigned long) strtol(optarg, NULL, 10);
     162                        sb.n_inodes = (uint64_t) strtol(optarg, NULL, 10);
    163163                        break;
    164164                case 'l':
     
    378378        if (sb->n_inodes == 0)
    379379                inodes = sb->dev_nblocks / 3;
     380        else
     381                inodes = sb->n_inodes;
    380382
    381383        if (inodes % sb->ino_per_block)
Note: See TracChangeset for help on using the changeset viewer.