Changeset 8ddaaac in mainline for kernel/generic/src/printf/printf_core.c
- Timestamp:
- 2017-10-24T04:56:00Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce55b43
- Parents:
- 35ebd42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/printf/printf_core.c
r35ebd42 r8ddaaac 104 104 PrintfQualifierLongLong, 105 105 PrintfQualifierPointer, 106 PrintfQualifierSize 106 PrintfQualifierSize, 107 PrintfQualifierMax 107 108 } qualifier_t; 108 109 … … 767 768 case 'z': 768 769 qualifier = PrintfQualifierSize; 770 i = nxt; 771 uc = str_decode(fmt, &nxt, STR_NO_LIMIT); 772 break; 773 case 'j': 774 qualifier = PrintfQualifierMax; 769 775 i = nxt; 770 776 uc = str_decode(fmt, &nxt, STR_NO_LIMIT); … … 892 898 number = (uint64_t) va_arg(ap, size_t); 893 899 break; 900 case PrintfQualifierMax: 901 size = sizeof(uintmax_t); 902 number = (uint64_t) va_arg(ap, uintmax_t); 903 break; 894 904 default: 895 905 /* Unknown qualifier */
Note:
See TracChangeset
for help on using the changeset viewer.