Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/printf/vsnprintf.c

    rfac0ac7 r7c3fb9b  
    7070
    7171        if (left == 1) {
    72                 /* We have only one free byte left in buffer
     72                /*
     73                 * We have only one free byte left in buffer
    7374                 * -> store trailing zero
    7475                 */
     
    7980
    8081        if (left <= size) {
    81                 /* We do not have enough space for the whole string
     82                /*
     83                 * We do not have enough space for the whole string
    8284                 * with the trailing zero => print only a part
    8385                 * of string
     
    9294                }
    9395
    94                 /* Put trailing zero at end, but not count it
     96                /*
     97                 * Put trailing zero at end, but not count it
    9598                 * into data->len so it could be rewritten next time
    9699                 */
     
    104107        data->len += size;
    105108
    106         /* Put trailing zero at end, but not count it
     109        /*
     110         * Put trailing zero at end, but not count it
    107111         * into data->len so it could be rewritten next time
    108112         */
     
    140144
    141145                if (left == 1) {
    142                         /* We have only one free byte left in buffer
     146                        /*
     147                         * We have only one free byte left in buffer
    143148                         * -> store trailing zero
    144149                         */
     
    154159        }
    155160
    156         /* Put trailing zero at end, but not count it
     161        /*
     162         * Put trailing zero at end, but not count it
    157163         * into data->len so it could be rewritten next time
    158164         */
Note: See TracChangeset for help on using the changeset viewer.