Changeset 8565a42 in mainline for uspace/app/blkdump


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

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

    r3061bc1 r8565a42  
    7272        aoff64_t dev_nblocks;
    7373        bool toc = false;
    74        
     74
    7575        if (argc < 2) {
    7676                printf(NAME ": Error, argument missing.\n");
     
    9191                relative = true;
    9292        }
    93        
     93
    9494        if (str_cmp(*argv, "--offset") == 0) {
    9595                --argc; ++argv;
     
    109109                --argc; ++argv;
    110110        }
    111        
     111
    112112        if (str_cmp(*argv, "--count") == 0) {
    113113                --argc; ++argv;
     
    241241        size_t pos;
    242242        uint8_t b;
    243        
     243
    244244        if (length > bytes_per_row) {
    245245                length = bytes_per_row;
    246246        }
    247        
     247
    248248        /* Print hexadecimal values */
    249249        for (pos = 0; pos < length; pos++) {
     
    253253                printf("%02hhX ", data[pos]);
    254254        }
    255        
     255
    256256        /* Pad with spaces if we have less than 16 bytes */
    257257        for (pos = length; pos < bytes_per_row; pos++) {
     
    261261                printf("   ");
    262262        }
    263        
     263
    264264        /* Print printable characters */
    265265        for (pos = 0; pos < length; pos++) {
Note: See TracChangeset for help on using the changeset viewer.