Changeset 1b20da0 in mainline for uspace/app/mkmfs/mkmfs.c


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

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

    rdf6ded8 r1b20da0  
    167167        }
    168168
    169         if (sb.block_size < MFS_MIN_BLOCKSIZE || 
     169        if (sb.block_size < MFS_MIN_BLOCKSIZE ||
    170170            sb.block_size > MFS_MAX_BLOCKSIZE) {
    171171                printf(NAME ":Error! Invalid block size.\n");
     
    175175                printf(NAME ":Error! Invalid block size.\n");
    176176                exit(0);
    177         } else if (sb.block_size > MFS_BLOCKSIZE && 
     177        } else if (sb.block_size > MFS_BLOCKSIZE &&
    178178            sb.fs_version != 3) {
    179179                printf(NAME ":Error! Block size > 1024 is "
     
    470470        if (sb->fs_version == 1) {
    471471                /* Valid only for MFS V1 */
    472                 sb->n_zones = sb->dev_nblocks > UINT16_MAX ? 
     472                sb->n_zones = sb->dev_nblocks > UINT16_MAX ?
    473473                    UINT16_MAX : sb->dev_nblocks;
    474474                ind = MFS_BLOCKSIZE / sizeof(uint16_t);
     
    524524
    525525        /* Compute first data zone position */
    526         sb->first_data_zone = 2 + sb->itable_size + 
     526        sb->first_data_zone = 2 + sb->itable_size +
    527527            sb->zbmap_blocks + sb->ibmap_blocks;
    528528
Note: See TracChangeset for help on using the changeset viewer.