summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2010-02-05 12:24:33 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2010-02-05 12:24:33 +0000
commitf875af72cff52b8f29d0bfcccef25d83c0bb55a6 (patch)
treeeed092a713a25bf971a5b6a7b4b62a3bf74eed1a
parent284958ffcbd29756cfcb2aba4c07b7b036953674 (diff)
Use correct format specifiers for 'show bcstats'.
ok beck@ krw@
-rw-r--r--sys/kern/vfs_bio.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index f2821c6b233..93c404bb457 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.120 2009/08/08 15:04:43 beck Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.121 2010/02/05 12:24:32 jsing Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*
@@ -1239,10 +1239,11 @@ void
bcstats_print(int (*pr)(const char *, ...))
{
(*pr)("Current Buffer Cache status:\n");
- (*pr)("numbufs %d freebufs %d\n", bcstats.numbufs, bcstats.freebufs);
- (*pr)("bufpages %d freepages %d dirtypages %d\n", bcstats.numbufpages,
- bcstats.numfreepages, bcstats.numdirtypages);
- (*pr)("pendingreads %d, pendingwrites %d\n",
+ (*pr)("numbufs %lld, freebufs %lld\n",
+ bcstats.numbufs, bcstats.freebufs);
+ (*pr)("bufpages %lld, freepages %lld, dirtypages %lld\n",
+ bcstats.numbufpages, bcstats.numfreepages, bcstats.numdirtypages);
+ (*pr)("pendingreads %lld, pendingwrites %lld\n",
bcstats.pendingreads, bcstats.pendingwrites);
}
#endif