ref: cb5f6005bc3376c4ba12aa29ed9bc7649e41192f
parent: 5fc5c18208546c77f2c279f7f6acf6b01a2d2645
author: cinap_lenrek <[email protected]>
date: Sat Mar 11 11:07:48 EST 2017
teg2: fix format string warning in mmu.c
--- a/sys/src/9/teg2/mmu.c
+++ b/sys/src/9/teg2/mmu.c
@@ -484,7 +484,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)