Changes in kernel/test/print/print2.c [e330da6e:a4fb8d60] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/print/print2.c
re330da6e ra4fb8d60 28 28 29 29 #include <print.h> 30 #include <stddef.h> 30 31 #include <test.h> 31 32 … … 61 62 TPRINTF("Real output: [%td] [%tu] [%tx] [%ti] [%to]\n\n", d, neg_d, neg_d, d, neg_d); 62 63 63 sysarg_t nat = UINTN_C(0x12345678);64 sysarg_t nat = 0x12345678; 64 65 65 66 TPRINTF("Testing printf(\"%%#" PRIx64 " %%#" PRIx32 " %%#" PRIx16 " %%#" PRIx8 " %%#" PRIxn " %%#" PRIx64 " %%s\", (uint64_t) UINT64_C(0x1234567887654321), (uint32_t) UINT32_C(0x12345678), (uint16_t) UINT16_C(0x1234), (uint8_t) UINT8_C(0x12), nat, (uint64_t) UINT64_C(0x1234567887654321), \"Lovely string\"):\n");
Note:
See TracChangeset
for help on using the changeset viewer.