diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2018-11-19 13:15:38 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2018-11-19 13:15:38 +0000 |
commit | 0b9426ab228141fe19c2c87efedb86a47cfcb2bc (patch) | |
tree | 2186f351a6438d2e87bc8f8e0a2d5c07de521629 /usr.bin/netstat/inet.c | |
parent | 0be3d260a91999ad8021a08efa6a4f0db72a86b9 (diff) |
Utilize sigio with sockets.
OK mpi@
Diffstat (limited to 'usr.bin/netstat/inet.c')
-rw-r--r-- | usr.bin/netstat/inet.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 8e490540955..e8e2a4dcd4f 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.163 2018/08/13 14:36:54 mpi Exp $ */ +/* $OpenBSD: inet.c,v 1.164 2018/11/19 13:15:37 visa Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -1311,9 +1311,7 @@ socket_dump(u_long off) p("%d", so_qlimit, "\n "); p("%d", so_timeo, "\n "); p("%u", so_error, "\n "); - p("%d", so_pgid, ", "); - p("%u", so_siguid, ", "); - p("%u", so_sigeuid, "\n "); + p("%p", so_sigio.sir_sigio, "\n "); p("%lu", so_oobmark, "\n "); if (so.so_sp) sosplice_dump((u_long)so.so_sp); |