Date: Fri, 15 Jul 2016 15:55:36 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302904 - head/usr.bin/netstat Message-ID: <201607151555.u6FFtagT009003@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Fri Jul 15 15:55:36 2016 New Revision: 302904 URL: https://svnweb.freebsd.org/changeset/base/302904 Log: Fix a bug which results in a core dump when running netstat with the -W option and having a listening SCTP socket. The bug was introduced in r279122 when adding support for libxo. MFC after: 3 days Modified: head/usr.bin/netstat/sctp.c Modified: head/usr.bin/netstat/sctp.c ============================================================================== --- head/usr.bin/netstat/sctp.c Fri Jul 15 15:37:54 2016 (r302903) +++ head/usr.bin/netstat/sctp.c Fri Jul 15 15:55:36 2016 (r302904) @@ -529,7 +529,7 @@ retry: "{:state/CLOSED}", " "); } else { xo_emit("{P:/%-45.45s} " - "{:state:LISTEN}", " "); + "{:state/LISTEN}", " "); } } else { if (process_closed) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607151555.u6FFtagT009003>