Changes in kernel/test/mm/falloc2.c [7e752b2:98000fb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/falloc2.c
r7e752b2 r98000fb 33 33 #include <mm/slab.h> 34 34 #include <arch/mm/page.h> 35 #include < typedefs.h>35 #include <arch/types.h> 36 36 #include <atomic.h> 37 37 #include <debug.h> … … 85 85 for (k = 0; k <= (((size_t) FRAME_SIZE << order) - 1); k++) { 86 86 if (((uint8_t *) frames[i])[k] != val) { 87 TPRINTF("Thread #%" PRIu64 " (cpu%u): Unexpected data (%c) in block %p offset %zu\n", 88 THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k); 87 TPRINTF("Thread #%" PRIu64 " (cpu%u): Unexpected data (%c) in block %p offset %#" PRIs "\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k); 89 88 atomic_inc(&thread_fail); 90 89 goto cleanup; … … 105 104 } 106 105 107 c onst char *test_falloc2(void)106 char *test_falloc2(void) 108 107 { 109 108 unsigned int i; … … 122 121 123 122 while (atomic_get(&thread_count) > 0) { 124 TPRINTF("Threads left: % " PRIua "\n", atomic_get(&thread_count));123 TPRINTF("Threads left: %ld\n", atomic_get(&thread_count)); 125 124 thread_sleep(1); 126 125 }
Note:
See TracChangeset
for help on using the changeset viewer.