shithub: riscv

Download patch

ref: c3917ec566559e0a3565b1d412147c951a6c4fc0
parent: e836796365fdcd389aaa0fd7deed34e4f21e7334
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Feb 7 18:02:56 EST 2014

pc64: fix poolsummary() string format

--- a/sys/src/9/port/alloc.c
+++ b/sys/src/9/port/alloc.c
@@ -119,8 +119,9 @@
 void
 poolsummary(Pool *p)
 {
-	print("%s max %lud cur %lud free %lud alloc %lud\n", p->name,
-		p->maxsize, p->cursize, p->curfree, p->curalloc);
+	print("%s max %llud cur %llud free %llud alloc %llud\n", p->name,
+		(uvlong)p->maxsize, (uvlong)p->cursize,
+		(uvlong)p->curfree, (uvlong)p->curalloc);
 }
 
 void