summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_debug.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-01-03 15:19:31 +0000
committerbz <bz@FreeBSD.org>2008-01-03 15:19:31 +0000
commit69daf9ac7f41d56f1d036122980df04659fa111f (patch)
treedd39026a341232ccb97e7aa4672501cd88016f7e /sys/kern/uipc_debug.c
parent149cd5b092a10623753758846599e566ae3a2264 (diff)
downloadFreeBSD-src-69daf9ac7f41d56f1d036122980df04659fa111f.zip
FreeBSD-src-69daf9ac7f41d56f1d036122980df04659fa111f.tar.gz
Add missing sb_sndptr* fields to db_print_sockbuf().
While here change %d to %u for u_ints. Discussed with: rwatson, kmacy
Diffstat (limited to 'sys/kern/uipc_debug.c')
-rw-r--r--sys/kern/uipc_debug.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/kern/uipc_debug.c b/sys/kern/uipc_debug.c
index 48103c5..77f56df 100644
--- a/sys/kern/uipc_debug.c
+++ b/sys/kern/uipc_debug.c
@@ -394,13 +394,17 @@ db_print_sockbuf(struct sockbuf *sb, const char *sockbufname, int indent)
db_printf("sb_lastrecord: %p\n", sb->sb_lastrecord);
db_print_indent(indent);
- db_printf("sb_cc: %d ", sb->sb_cc);
- db_printf("sb_hiwat: %d ", sb->sb_hiwat);
- db_printf("sb_mbcnt: %d ", sb->sb_mbcnt);
- db_printf("sb_mbmax: %d\n", sb->sb_mbmax);
+ db_printf("sb_sndptr: %p ", sb->sb_sndptr);
+ db_printf("sb_sndptroff: %u\n", sb->sb_sndptroff);
db_print_indent(indent);
- db_printf("sb_ctl: %d ", sb->sb_ctl);
+ db_printf("sb_cc: %u ", sb->sb_cc);
+ db_printf("sb_hiwat: %u ", sb->sb_hiwat);
+ db_printf("sb_mbcnt: %u ", sb->sb_mbcnt);
+ db_printf("sb_mbmax: %u\n", sb->sb_mbmax);
+
+ db_print_indent(indent);
+ db_printf("sb_ctl: %u ", sb->sb_ctl);
db_printf("sb_lowat: %d ", sb->sb_lowat);
db_printf("sb_timeo: %d\n", sb->sb_timeo);
OpenPOWER on IntegriCloud