Changes in kernel/test/print/print2.c [a4fb8d60:e330da6e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/print/print2.c
ra4fb8d60 re330da6e 28 28 29 29 #include <print.h> 30 #include <stddef.h>31 30 #include <test.h> 32 31 … … 62 61 TPRINTF("Real output: [%td] [%tu] [%tx] [%ti] [%to]\n\n", d, neg_d, neg_d, d, neg_d); 63 62 64 sysarg_t nat = 0x12345678;63 sysarg_t nat = UINTN_C(0x12345678); 65 64 66 65 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.