summaryrefslogtreecommitdiffstats
path: root/sys/vm/uma_core.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-10-20 21:28:31 +0000
committerrwatson <rwatson@FreeBSD.org>2005-10-20 21:28:31 +0000
commitf604e28c4e366f3cc9dd5d9ffdca7f5d5dcb5007 (patch)
tree3f8ab162b49cd01f97b8e13bd60e99253a478d24 /sys/vm/uma_core.c
parent541db5496070eaa591b3a202bfaef4e7ebc5fcb0 (diff)
downloadFreeBSD-src-f604e28c4e366f3cc9dd5d9ffdca7f5d5dcb5007.zip
FreeBSD-src-f604e28c4e366f3cc9dd5d9ffdca7f5d5dcb5007.tar.gz
Change format string for u_int64_t to %ju from %llu, in order to use the
correct format string on 64-bit systems. Pointed out by: pjd
Diffstat (limited to 'sys/vm/uma_core.c')
-rw-r--r--sys/vm/uma_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index 714e5a3..6b0426ef 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -3069,7 +3069,7 @@ DB_SHOW_COMMAND(uma, db_show_uma)
cachefree += kz->uk_free;
LIST_FOREACH(bucket, &z->uz_full_bucket, ub_link)
cachefree += bucket->ub_cnt;
- db_printf("%18s %12llu %12llu %12llu %8d\n", z->uz_name,
+ db_printf("%18s %12ju %12ju %12ju %8d\n", z->uz_name,
allocs, frees, allocs - frees, cachefree);
}
}
OpenPOWER on IntegriCloud