From 2f4f4ada81b27fe2f1889124b1a61dfeda2ee816 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Wed, 15 Jan 2020 14:02:38 +0000 Subject: Print the correct field, sb_timeo has been replaced by sb_timeo_nsecs. Breakage reported by espie@, ok bluhm@ --- usr.bin/netstat/inet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/netstat') diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index f0f25544e6d..432647e56c4 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.167 2019/12/08 11:08:22 sashan Exp $ */ +/* $OpenBSD: inet.c,v 1.168 2020/01/15 14:02:37 mpi Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -1379,7 +1379,7 @@ sockbuf_dump(struct sockbuf *sb, const char *name) printf("%s ", name); p("%#.8x", sb_flagsintr, ", "); p("%#.4x", sb_flags, ", "); - p("%u", sb_timeo, "\n "); + p("%llu", sb_timeo_nsecs, "\n "); #undef p } -- cgit v1.2.3