summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-06-02 19:39:12 +0000
committerkib <kib@FreeBSD.org>2012-06-02 19:39:12 +0000
commit3c3d727c68a1120d1726c88e607e639e1e6d880a (patch)
treef166dea5e6e8fcc397290b084258e950494e1216
parentf77bb430b978d6d77c19a7b3ff50b5c4d662b8df (diff)
downloadFreeBSD-src-3c3d727c68a1120d1726c88e607e639e1e6d880a.zip
FreeBSD-src-3c3d727c68a1120d1726c88e607e639e1e6d880a.tar.gz
Fix typo [1]. Use commas to separate flag printouts, in style with
other parts of function. Submitted by: bf [1] MFC after: 1 week
-rw-r--r--sys/kern/vfs_bio.c2
-rw-r--r--sys/sys/buf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 694a372..626847c 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -3995,7 +3995,7 @@ DB_SHOW_COMMAND(buffer, db_show_buffer)
}
db_printf("buf at %p\n", bp);
- db_printf("b_flags = 0x%b b_xflags=0x%b b_vflags=0x%b\n",
+ db_printf("b_flags = 0x%b, b_xflags=0x%b, b_vflags=0x%b\n",
(u_int)bp->b_flags, PRINT_BUF_FLAGS, (u_int)bp->b_xflags,
PRINT_BUF_XFLAGS, (u_int)bp->b_vflags, PRINT_BUF_VFLAGS);
db_printf(
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index d406ec1..2a367f1 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -251,7 +251,7 @@ struct buf {
#define BV_BKGRDWAIT 0x00000004 /* Background write waiting */
#define BV_INFREECNT 0x80000000 /* buf is counted in numfreebufs */
-#define PRINT_BUF_VFLAGS "\20\40infreecnt\3bkrgwait\2bkgrdinprog\1scanned"
+#define PRINT_BUF_VFLAGS "\20\40infreecnt\3bkgrdwait\2bkgrdinprog\1scanned"
#ifdef _KERNEL
/*
OpenPOWER on IntegriCloud