Changes in kernel/generic/src/main/main.c [e2650d3:7e752b2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
re2650d3 r7e752b2 97 97 /** Boot allocations. */ 98 98 ballocs_t ballocs = { 99 .base = NULL,99 .base = (uintptr_t) NULL, 100 100 .size = 0 101 101 }; … … 183 183 version_print(); 184 184 185 LOG("\nconfig.base=%p config.kernel_size=% " PRIs186 "\nconfig.stack_base=%p config.stack_size=% " PRIs,185 LOG("\nconfig.base=%p config.kernel_size=%zu" 186 "\nconfig.stack_base=%p config.stack_size=%zu", 187 187 config.base, config.kernel_size, config.stack_base, 188 188 config.stack_size); … … 225 225 slab_enable_cpucache(); 226 226 227 printf("Detected % " PRIs " CPU(s), %" PRIu64" MiB free memory\n",227 printf("Detected %u CPU(s), %" PRIu64 " MiB free memory\n", 228 228 config.cpu_count, SIZE2MB(zones_total_size())); 229 229 … … 241 241 size_t i; 242 242 for (i = 0; i < init.cnt; i++) 243 LOG("init[%" PRIs "].addr=%p, init[%" PRIs 244 "].size=%" PRIs, i, init.tasks[i].addr, i, 245 init.tasks[i].size); 243 LOG("init[%zu].addr=%p, init[%zu].size=%zu", 244 i, init.tasks[i].addr, i, init.tasks[i].size); 246 245 } else 247 246 printf("No init binaries found.\n");
Note:
See TracChangeset
for help on using the changeset viewer.