summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-03-11 16:07:48 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-03-11 16:07:48 +0100
commitcb5f6005bc3376c4ba12aa29ed9bc7649e41192f (patch)
treeabe719b2ac78e81724ef779bd29d7b51c91c21e6
parent5fc5c18208546c77f2c279f7f6acf6b01a2d2645 (diff)
downloadplan9front-cb5f6005bc3376c4ba12aa29ed9bc7649e41192f.tar.xz
teg2: fix format string warning in mmu.c
-rw-r--r--sys/src/9/teg2/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/teg2/mmu.c b/sys/src/9/teg2/mmu.c
index fc7760eab..1522c1f23 100644
--- a/sys/src/9/teg2/mmu.c
+++ b/sys/src/9/teg2/mmu.c
@@ -484,7 +484,7 @@ mmurelease(Proc* proc)
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)