From: Alan Cox Date: Wed, 19 Oct 2016 19:50:11 +0000 (+0100) Subject: swap: 32bit clean X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4dc0c7af463167585b9c3cc31bbb14250148bf98;p=FUZIX.git swap: 32bit clean --- diff --git a/Kernel/swap.c b/Kernel/swap.c index 6921e6c7..c8339b89 100644 --- a/Kernel/swap.c +++ b/Kernel/swap.c @@ -144,13 +144,13 @@ void swapper(ptptr p) pagemap_alloc(p); /* May cause a swapout. May also destroy the old value of p->page2 */ #ifdef DEBUG - kprintf("Swapping in %x (page %d), utab.ptab %x\n", p, p->p_page, + kprintf("Swapping in %p (page %d), utab.ptab %p\n", p, p->p_page, udata.u_ptab); #endif swapin(p, map); swapmap_add(map); #ifdef DEBUG - kprintf("Swapped in %x (page %d), udata.ptab %x\n", + kprintf("Swapped in %p (page %d), udata.ptab %p\n", p, p->p_page, udata.u_ptab); #endif }