Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/falloc2.c

    r7e752b2 r98000fb  
    3333#include <mm/slab.h>
    3434#include <arch/mm/page.h>
    35 #include <typedefs.h>
     35#include <arch/types.h>
    3636#include <atomic.h>
    3737#include <debug.h>
     
    8585                                for (k = 0; k <= (((size_t) FRAME_SIZE << order) - 1); k++) {
    8686                                        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);
    8988                                                atomic_inc(&thread_fail);
    9089                                                goto cleanup;
     
    105104}
    106105
    107 const char *test_falloc2(void)
     106char *test_falloc2(void)
    108107{
    109108        unsigned int i;
     
    122121       
    123122        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));
    125124                thread_sleep(1);
    126125        }
Note: See TracChangeset for help on using the changeset viewer.