Ignore:
Timestamp:
2018-03-26T22:07:55Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2172284
Parents:
af60409
Message:

Three more loop fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/printf/printf.c

    raf60409 reb748a0  
    127127
    128128        /* Count the arguments */
    129         for (argc = 0; argv[argc] != NULL; argc ++);
     129        argc = 0;
     130        while (argv[argc] != NULL)
     131                argc++;
    130132
    131133        if (argc < 2) {
Note: See TracChangeset for help on using the changeset viewer.