diff options
author | davide <davide@FreeBSD.org> | 2013-09-01 23:34:53 +0000 |
---|---|---|
committer | davide <davide@FreeBSD.org> | 2013-09-01 23:34:53 +0000 |
commit | 3e4464bbe3ad0bffe28f58f47e8994d9ac6bc860 (patch) | |
tree | 852a30b41e7209f4b3e346f7a073a8ebb5bee16c /sys/kern/uipc_debug.c | |
parent | 8d06f831a7fd6d823c0aff22030a780f8b8fd05e (diff) | |
download | FreeBSD-src-3e4464bbe3ad0bffe28f58f47e8994d9ac6bc860.zip FreeBSD-src-3e4464bbe3ad0bffe28f58f47e8994d9ac6bc860.tar.gz |
Fix socket buffer timeouts precision using the new sbintime_t KPI instead
of relying on the tvtohz() workaround. The latter has been introduced
lately by jhb@ (r254699) in order to have a fix that can be backported
to STABLE.
Reported by: Vitja Makarov <vitja.makarov at gmail dot com>
Reviewed by: jhb (earlier version)
Diffstat (limited to 'sys/kern/uipc_debug.c')
-rw-r--r-- | sys/kern/uipc_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_debug.c b/sys/kern/uipc_debug.c index 57f4017..128c64b 100644 --- a/sys/kern/uipc_debug.c +++ b/sys/kern/uipc_debug.c @@ -411,7 +411,7 @@ db_print_sockbuf(struct sockbuf *sb, const char *sockbufname, int indent) 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); + db_printf("sb_timeo: %jd\n", sb->sb_timeo); db_print_indent(indent); db_printf("sb_flags: 0x%x (", sb->sb_flags); |