- Timestamp:
- 2018-03-11T19:39:11Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3d47c97
- Parents:
- 850fd32
- Location:
- boot
- Files:
-
- 2 edited
-
genarch/src/ofw_tree.c (modified) (1 diff)
-
generic/src/printf_core.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boot/genarch/src/ofw_tree.c
r850fd32 r84239b1 110 110 /* Find last slash */ 111 111 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--; 113 115 114 116 /* Do not include the slash */ -
boot/generic/src/printf_core.c
r850fd32 r84239b1 670 670 counter += retval; 671 671 j = nxt; 672 goto next_char;672 continue; 673 673 case 'c': 674 674 retval = print_char(va_arg(ap, unsigned int), width, flags, ps); … … 677 677 counter = -counter; 678 678 goto out; 679 } ;679 } 680 680 681 681 counter += retval; 682 682 j = nxt; 683 goto next_char;683 continue; 684 684 685 685 /* … … 718 718 case '%': 719 719 j = i; 720 goto next_char;720 continue; 721 721 722 722 /* … … 728 728 * so we will print whole bad format sequence. 729 729 */ 730 goto next_char;730 continue; 731 731 } 732 732 … … 784 784 j = nxt; 785 785 } 786 next_char:787 ;788 786 } 789 787
Note:
See TracChangeset
for help on using the changeset viewer.
