diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-07 23:02:56 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-07 23:02:56 +0100 |
commit | c3917ec566559e0a3565b1d412147c951a6c4fc0 (patch) | |
tree | 31ada875e1a564ad7255ded3e49ba91d94a28687 | |
parent | e836796365fdcd389aaa0fd7deed34e4f21e7334 (diff) |
pc64: fix poolsummary() string format
-rw-r--r-- | sys/src/9/port/alloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/src/9/port/alloc.c b/sys/src/9/port/alloc.c index fd3e41690..fc562bc55 100644 --- a/sys/src/9/port/alloc.c +++ b/sys/src/9/port/alloc.c @@ -119,8 +119,9 @@ punlock(Pool *p) 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 |