ref: 807019d6ebaebbfd297c9e9372ebe930f5780b03
parent: 6d424674113a6a6dd2566d82ba15f20d2d3090e7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Nov 29 15:51:08 EST 2016
omap: fix format string warning %d for long
--- a/sys/src/9/omap/mmu.c
+++ b/sys/src/9/omap/mmu.c
@@ -243,7 +243,7 @@
for(page = proc->mmul2cache; page != nil; page = next){
next = page->next;
if(--page->ref)
- panic("mmurelease: page->ref %d", page->ref);
+ panic("mmurelease: page->ref %ld", page->ref);
pagechainhead(page);
}
if(proc->mmul2cache != nil)