Changeset 84239b1 in mainline for uspace/app/mkmfs/mkmfs.c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

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

    r850fd32 r84239b1  
    133133        }
    134134
    135         for (c = 0, optind = 0, opt_ind = 0; c != -1;) {
     135        c = 0;
     136        optind = 0;
     137        opt_ind = 0;
     138        while (c != -1) {
    136139                c = getopt_long(argc, argv, "lh12b:i:",
    137140                    long_options, &opt_ind);
     
    566569        errno_t rc;
    567570
    568         sb = malloc(MFS_SUPERBLOCK_SIZE);;
     571        sb = malloc(MFS_SUPERBLOCK_SIZE);
    569572
    570573        if (!sb)
Note: See TracChangeset for help on using the changeset viewer.