shithub: riscv

Download patch

ref: 3f230d717df96122eab58f49e8807833006f56a8
parent: 46cc1c444b448f2562959104e01f21f8f99d9140
author: mischief <[email protected]>
date: Wed Jun 25 11:45:04 EDT 2014

xen: correct print format for long

--- a/sys/src/9/xen/mmu.c
+++ b/sys/src/9/xen/mmu.c
@@ -349,7 +349,7 @@
 	for(page = proc->mmufree; page; page = next){
 		next = page->next;
 		if(--page->ref)
-			panic("mmurelease: page->ref %d\n", page->ref);
+			panic("mmurelease: page->ref %ld\n", page->ref);
 		pagechainhead(page);
 	}
 	if(proc->mmufree && palloc.r.p)