diff options
author | peter <peter@FreeBSD.org> | 1999-05-12 22:30:50 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-12 22:30:50 +0000 |
commit | 29a5087ba23e5d890fa60a410cf3251d82356bd3 (patch) | |
tree | ddfb909c087c146dea294a8fbd1e903d25fa263b /sys/kern/vfs_bio.c | |
parent | 72cdb4b9f5ebb2248823511898dc0754d6936e22 (diff) | |
download | FreeBSD-src-29a5087ba23e5d890fa60a410cf3251d82356bd3.zip FreeBSD-src-29a5087ba23e5d890fa60a410cf3251d82356bd3.tar.gz |
Try an fix a couple of dev_t/major/minor etc nits.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 37bdf76..59dd730 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -11,7 +11,7 @@ * 2. Absolutely no warranty of function or purpose is made by the author * John S. Dyson. * - * $Id: vfs_bio.c,v 1.209 1999/05/06 17:06:41 phk Exp $ + * $Id: vfs_bio.c,v 1.210 1999/05/06 20:00:26 phk Exp $ */ /* @@ -2960,10 +2960,11 @@ DB_SHOW_COMMAND(buffer, db_show_buffer) db_printf("b_flags = 0x%b\n", (u_int)bp->b_flags, PRINT_BUF_FLAGS); db_printf("b_error = %d, b_bufsize = %ld, b_bcount = %ld, " - "b_resid = %ld\nb_dev = 0x%x, b_data = %p, " + "b_resid = %ld\nb_dev = (%d,%d), b_data = %p, " "b_blkno = %d, b_pblkno = %d\n", bp->b_error, bp->b_bufsize, bp->b_bcount, bp->b_resid, - bp->b_dev, bp->b_data, bp->b_blkno, bp->b_pblkno); + major(bp->b_dev), minor(bp->b_dev), + bp->b_data, bp->b_blkno, bp->b_pblkno); if (bp->b_npages) { int i; db_printf("b_npages = %d, pages(OBJ, IDX, PA): ", bp->b_npages); |