summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <marin.ramesa@gmail.com>2013-06-29 21:12:53 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-29 21:12:53 +0200
commitd43c5a56a6c181b7b4f8f85998c4b8bc18827777 (patch)
tree593c6d168832a740377759ace7ac9e20cddf08f1 /kern
parent3f4b14de254df3fe968fc54e1a3187f5cd8d5def (diff)
(slab_info): fix format warnings
* kern/slab.c (slab_info): Fix format for vm_size_t.
Diffstat (limited to 'kern')
-rw-r--r--kern/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/slab.c b/kern/slab.c
index 5c697cd..47c2c8f 100644
--- a/kern/slab.c
+++ b/kern/slab.c
@@ -1450,7 +1450,7 @@ void slab_info(void)
mem_usage = (cache->nr_slabs * cache->slab_size) >> 10;
mem_reclaimable = (cache->nr_free_slabs * cache->slab_size) >> 10;
- printf("%-19s %6lu %3luk %4lu %6lu %6lu %7luk %10luk\n",
+ printf("%-19s %6lu %3luk %4lu %6lu %6lu %7uk %10uk\n",
cache->name, cache->obj_size, cache->slab_size >> 10,
cache->bufs_per_slab, cache->nr_objs, cache->nr_bufs,
mem_usage, mem_reclaimable);