Date: Mon, 16 Jan 2017 09:12:40 +0000 (UTC) From: Steven Hartland <smh@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r312278 - stable/10/usr.bin/netstat Message-ID: <201701160912.v0G9Cexp057114@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: smh Date: Mon Jan 16 09:12:40 2017 New Revision: 312278 URL: https://svnweb.freebsd.org/changeset/base/312278 Log: MFC r311769: Fix rstat: symbol not in namelist from netstat Sponsored by: Multiplay Modified: stable/10/usr.bin/netstat/main.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/netstat/main.c ============================================================================== --- stable/10/usr.bin/netstat/main.c Mon Jan 16 08:25:33 2017 (r312277) +++ stable/10/usr.bin/netstat/main.c Mon Jan 16 09:12:40 2017 (r312278) @@ -535,6 +535,9 @@ main(int argc, char *argv[]) if (xflag && Tflag) errx(1, "-x and -T are incompatible, pick one."); + /* Load all necessary kvm symbols */ + kresolve_list(nl); + if (Bflag) { if (!live) usage(); @@ -603,9 +606,6 @@ main(int argc, char *argv[]) exit(0); } - /* Load all necessary kvm symbols */ - kresolve_list(nl); - if (tp) { printproto(tp, tp->pr_name); exit(0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701160912.v0G9Cexp057114>