Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2017 09:16:11 +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-11@freebsd.org
Subject:   svn commit: r312279 - stable/11/usr.bin/netstat
Message-ID:  <201701160916.v0G9GB94057288@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: smh
Date: Mon Jan 16 09:16:11 2017
New Revision: 312279
URL: https://svnweb.freebsd.org/changeset/base/312279

Log:
  MFC r311769:
  
  Fix rstat: symbol not in namelist from netstat
  
  Sponsored by:	Multiplay

Modified:
  stable/11/usr.bin/netstat/main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/netstat/main.c
==============================================================================
--- stable/11/usr.bin/netstat/main.c	Mon Jan 16 09:12:40 2017	(r312278)
+++ stable/11/usr.bin/netstat/main.c	Mon Jan 16 09:16:11 2017	(r312279)
@@ -427,6 +427,9 @@ main(int argc, char *argv[])
 	if (xflag && Tflag)
 		xo_errx(1, "-x and -T are incompatible, pick one.");
 
+	/* Load all necessary kvm symbols */
+	kresolve_list(nl);
+
 	if (Bflag) {
 		if (!live)
 			usage();
@@ -507,9 +510,6 @@ main(int argc, char *argv[])
 		exit(0);
 	}
 
-	/* Load all necessary kvm symbols */
-	kresolve_list(nl);
-
 	if (tp) {
 		xo_open_container("statistics");
 		printproto(tp, tp->pr_name, &first);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701160916.v0G9GB94057288>