Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/src/ofw_tree.c

    ra35b458 r84239b1  
    110110                /* Find last slash */
    111111                size_t i;
    112                 for (i = len; (i > 0) && (path[i - 1] != '/'); i--);
     112                i = len;
     113                while (i > 0 && path[i - 1] != '/')
     114                        i--;
    113115
    114116                /* Do not include the slash */
Note: See TracChangeset for help on using the changeset viewer.