Changeset 3bacee1 in mainline for uspace/app/usbinfo/dump.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/dump.c

    r76d0981d r3bacee1  
    6464                INDENT INDENT INDENT INDENT INDENT INDENT,
    6565        };
    66         static size_t indents_count = sizeof(indents)/sizeof(indents[0]);
     66        static size_t indents_count = sizeof(indents) / sizeof(indents[0]);
    6767        if (level >= indents_count) {
    6868                return indents[indents_count - 1];
     
    8484        for (i = 0; i < length; i++) {
    8585                printf("0x%02X", buffer[i]);
    86                 if (((i > 0) && (((i+1) % BYTES_PER_LINE) == 0))
    87                     || (i + 1 == length)) {
     86                if (((i > 0) && (((i + 1) % BYTES_PER_LINE) == 0)) ||
     87                    (i + 1 == length)) {
    8888                        printf("\n");
    8989                        if (i + 1 < length) {
Note: See TracChangeset for help on using the changeset viewer.